[commit: ghc] wip/erikd/remove-nat: rts: Replace `nat` with `uint32_t` (63599c6)
git at git.haskell.org
git at git.haskell.org
Mon May 2 23:23:32 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/erikd/remove-nat
Link : http://ghc.haskell.org/trac/ghc/changeset/63599c6aeece46f5722340337d85a417de094c83/ghc
>---------------------------------------------------------------
commit 63599c6aeece46f5722340337d85a417de094c83
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date: Mon May 2 06:37:14 2016 +1000
rts: Replace `nat` with `uint32_t`
Summary:
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
>---------------------------------------------------------------
63599c6aeece46f5722340337d85a417de094c83
includes/rts/Flags.h | 48 +++++++++++------------
includes/rts/IOManager.h | 2 +-
includes/rts/OSThreads.h | 4 +-
includes/rts/SpinLock.h | 4 +-
includes/rts/Threads.h | 4 +-
includes/rts/Types.h | 3 +-
includes/rts/prof/CCS.h | 2 +-
includes/rts/storage/Block.h | 4 +-
includes/rts/storage/ClosureMacros.h | 36 ++++++++---------
includes/rts/storage/GC.h | 8 ++--
includes/rts/storage/MBlock.h | 4 +-
includes/rts/storage/SMPClosureOps.h | 2 +-
rts/Adjustor.c | 4 +-
rts/Arena.c | 4 +-
rts/Capability.c | 35 +++++++++--------
rts/Capability.h | 23 +++++------
rts/CheckUnload.c | 4 +-
rts/Disassembler.c | 10 ++---
rts/Globals.c | 4 +-
rts/Hpc.c | 10 ++---
rts/Interpreter.c | 16 ++++----
rts/LdvProfile.c | 8 ++--
rts/LdvProfile.h | 2 +-
rts/LibdwPool.c | 2 +-
rts/Linker.c | 10 ++---
rts/Messages.c | 6 +--
rts/Messages.h | 2 +-
rts/Pool.c | 22 +++++------
rts/Pool.h | 10 ++---
rts/Printer.c | 14 ++++---
rts/ProfHeap.c | 30 +++++++-------
rts/ProfHeap.h | 2 +-
rts/Profiling.c | 51 ++++++++++++------------
rts/Proftimer.c | 4 +-
rts/RaiseAsync.c | 12 +++---
rts/RaiseAsync.h | 2 +-
rts/RetainerProfile.c | 72 +++++++++++++++++-----------------
rts/RetainerSet.c | 28 ++++++-------
rts/RetainerSet.h | 8 ++--
rts/RtsFlags.c | 21 +++++-----
rts/RtsStartup.c | 2 +-
rts/Schedule.c | 57 ++++++++++++++-------------
rts/Sparks.c | 6 +--
rts/Stable.c | 12 +++---
rts/Stats.c | 28 ++++++-------
rts/Stats.h | 10 ++---
rts/Task.c | 13 +++---
rts/Task.h | 10 ++---
rts/ThreadPaused.c | 18 ++++-----
rts/Threads.c | 8 ++--
rts/Trace.c | 8 ++--
rts/Trace.h | 24 ++++++------
rts/WSDeque.c | 2 +-
rts/WSDeque.h | 2 +-
rts/Weak.c | 2 +-
rts/eventlog/EventLog.c | 30 +++++++-------
rts/eventlog/EventLog.h | 8 ++--
rts/posix/GetTime.c | 2 +-
rts/posix/OSMem.c | 4 +-
rts/posix/OSThreads.c | 28 ++++++-------
rts/posix/Signals.c | 4 +-
rts/sm/BlockAlloc.c | 18 ++++-----
rts/sm/BlockAlloc.h | 2 +-
rts/sm/Compact.h | 6 +--
rts/sm/Evac.c | 24 ++++++------
rts/sm/GC.c | 74 +++++++++++++++++------------------
rts/sm/GC.h | 8 ++--
rts/sm/GCThread.h | 8 ++--
rts/sm/GCUtils.c | 16 ++++----
rts/sm/GCUtils.h | 8 ++--
rts/sm/HeapAlloc.h | 4 +-
rts/sm/MBlock.c | 46 +++++++++++-----------
rts/sm/MarkWeak.c | 10 ++---
rts/sm/OSMem.h | 4 +-
rts/sm/Sanity.c | 52 ++++++++++++------------
rts/sm/Scav.c | 18 ++++-----
rts/sm/Storage.c | 38 +++++++++---------
rts/sm/Storage.h | 10 ++---
rts/sm/Sweep.c | 2 +-
rts/win32/AwaitEvent.c | 2 +-
rts/win32/OSMem.c | 8 ++--
rts/win32/OSThreads.c | 10 ++---
rts/win32/ThrIOManager.c | 2 +-
testsuite/tests/rts/testblockalloc.c | 2 +-
testsuite/tests/rts/testheapalloced.c | 2 +-
testsuite/tests/rts/testmblockalloc.c | 2 +-
testsuite/tests/rts/testwsdeque.c | 14 +++----
87 files changed, 608 insertions(+), 597 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 63599c6aeece46f5722340337d85a417de094c83
More information about the ghc-commits
mailing list