[commit: ghc] wip/erikd/remove-nat: rts: Replace `nat` with `uint32_t` (dc71c31)
git at git.haskell.org
git at git.haskell.org
Sun May 1 22:12:16 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/erikd/remove-nat
Link : http://ghc.haskell.org/trac/ghc/changeset/dc71c3184c31706f54d8d23e1644d1ad8016eb80/ghc
>---------------------------------------------------------------
commit dc71c3184c31706f54d8d23e1644d1ad8016eb80
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`
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.
>---------------------------------------------------------------
dc71c3184c31706f54d8d23e1644d1ad8016eb80
includes/rts/Flags.h | 44 ++++++++++-----------
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 | 34 ++++++++---------
rts/Capability.h | 22 +++++------
rts/CheckUnload.c | 4 +-
rts/Disassembler.c | 6 +--
rts/Globals.c | 4 +-
rts/Hpc.c | 10 ++---
rts/Interpreter.c | 16 ++++----
rts/LdvProfile.c | 6 +--
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 | 12 +++---
rts/ProfHeap.c | 30 +++++++--------
rts/ProfHeap.h | 2 +-
rts/Profiling.c | 46 +++++++++++-----------
rts/Proftimer.c | 4 +-
rts/RaiseAsync.c | 12 +++---
rts/RaiseAsync.h | 2 +-
rts/RetainerProfile.c | 60 ++++++++++++++---------------
rts/RetainerSet.c | 28 +++++++-------
rts/RetainerSet.h | 6 +--
rts/RtsFlags.c | 18 ++++-----
rts/RtsStartup.c | 2 +-
rts/Schedule.c | 56 +++++++++++++--------------
rts/Sparks.c | 6 +--
rts/Stable.c | 12 +++---
rts/Stats.c | 28 +++++++-------
rts/Stats.h | 4 +-
rts/Task.c | 12 +++---
rts/Task.h | 10 ++---
rts/ThreadPaused.c | 16 ++++----
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 | 16 ++++----
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 | 48 +++++++++++------------
rts/sm/Scav.c | 18 ++++-----
rts/sm/Storage.c | 38 +++++++++---------
rts/sm/Storage.h | 10 ++---
rts/sm/Sweep.c | 2 +-
79 files changed, 556 insertions(+), 555 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 dc71c3184c31706f54d8d23e1644d1ad8016eb80
More information about the ghc-commits
mailing list