rts: Replace `nat` with `uint32_t`
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 1 May 2016 20:37:14 +0000 (06:37 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 4 May 2016 22:29:27 +0000 (08:29 +1000)
commitdb9de7eb3e91820024f673bfdb6fb8064cfed20d
tree5e1c3ef0b6dee7f40fedbc118ba36cfe6ffdd1ee
parentad4392c142696d5092533480a82ed65322e9d413
rts: Replace `nat` with `uint32_t`

The `nat` type was an alias for `unsigned int` with a comment saying
it was at least 32 bits. We keep the typedef in case client code is
using it but mark it as deprecated.

Test Plan: Validated on Linux, OS X and Windows

Reviewers: simonmar, austin, thomie, hvr, bgamari, hsyl20

Differential Revision: https://phabricator.haskell.org/D2166
87 files changed:
includes/rts/Flags.h
includes/rts/IOManager.h
includes/rts/OSThreads.h
includes/rts/SpinLock.h
includes/rts/Threads.h
includes/rts/Types.h
includes/rts/prof/CCS.h
includes/rts/storage/Block.h
includes/rts/storage/ClosureMacros.h
includes/rts/storage/GC.h
includes/rts/storage/MBlock.h
includes/rts/storage/SMPClosureOps.h
rts/Adjustor.c
rts/Arena.c
rts/Capability.c
rts/Capability.h
rts/CheckUnload.c
rts/Disassembler.c
rts/Globals.c
rts/Hpc.c
rts/Interpreter.c
rts/LdvProfile.c
rts/LdvProfile.h
rts/LibdwPool.c
rts/Linker.c
rts/Messages.c
rts/Messages.h
rts/Pool.c
rts/Pool.h
rts/Printer.c
rts/ProfHeap.c
rts/ProfHeap.h
rts/Profiling.c
rts/Proftimer.c
rts/RaiseAsync.c
rts/RaiseAsync.h
rts/RetainerProfile.c
rts/RetainerSet.c
rts/RetainerSet.h
rts/RtsFlags.c
rts/RtsStartup.c
rts/Schedule.c
rts/Sparks.c
rts/Stable.c
rts/Stats.c
rts/Stats.h
rts/Task.c
rts/Task.h
rts/ThreadPaused.c
rts/Threads.c
rts/Trace.c
rts/Trace.h
rts/WSDeque.c
rts/WSDeque.h
rts/Weak.c
rts/eventlog/EventLog.c
rts/eventlog/EventLog.h
rts/posix/GetTime.c
rts/posix/OSMem.c
rts/posix/OSThreads.c
rts/posix/Signals.c
rts/sm/BlockAlloc.c
rts/sm/BlockAlloc.h
rts/sm/Compact.h
rts/sm/Evac.c
rts/sm/GC.c
rts/sm/GC.h
rts/sm/GCThread.h
rts/sm/GCUtils.c
rts/sm/GCUtils.h
rts/sm/HeapAlloc.h
rts/sm/MBlock.c
rts/sm/MarkWeak.c
rts/sm/OSMem.h
rts/sm/Sanity.c
rts/sm/Scav.c
rts/sm/Storage.c
rts/sm/Storage.h
rts/sm/Sweep.c
rts/win32/AwaitEvent.c
rts/win32/OSMem.c
rts/win32/OSThreads.c
rts/win32/ThrIOManager.c
testsuite/tests/rts/testblockalloc.c
testsuite/tests/rts/testheapalloced.c
testsuite/tests/rts/testmblockalloc.c
testsuite/tests/rts/testwsdeque.c