Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/9f67d9fe9fca4624e20426abe98522a1d24ce101 >--------------------------------------------------------------- commit 9f67d9fe9fca4624e20426abe98522a1d24ce101 Author: Simon Marlow <[email protected]> Date: Fri Sep 7 13:55:11 2012 +0100 Deprecate lnat, and use StgWord instead lnat was originally "long unsigned int" but we were using it when we wanted a 64-bit type on a 64-bit machine. This broke on Windows x64, where long == int == 32 bits. Using types of unspecified size is bad, but what we really wanted was a type with N bits on an N-bit machine. StgWord is exactly that. lnat was mentioned in some APIs that clients might be using (e.g. StackOverflowHook()), so we leave it defined but with a comment to say that it's deprecated. MERGED from commit 41737f12f99c9ea776f7658b93e5b03ffc8f120b ghc/hschooks.c | 2 +- includes/mkDerivedConstants.c | 2 +- includes/rts/Hooks.h | 6 ++-- includes/rts/SpinLock.h | 2 +- includes/rts/Types.h | 6 ++- includes/rts/storage/ClosureMacros.h | 8 ++-- includes/rts/storage/GC.h | 4 +- includes/rts/storage/MBlock.h | 6 ++-- rts/Arena.c | 2 +- rts/Capability.h | 2 +- rts/Disassembler.c | 2 +- rts/FrontPanel.c | 2 +- rts/FrontPanel.h | 2 +- rts/Linker.c | 8 ++-- rts/Messages.c | 10 +++--- rts/Printer.c | 14 ++++---- rts/ProfHeap.c | 2 +- rts/Profiling.c | 2 +- rts/RetainerProfile.c | 4 +- rts/RetainerProfile.h | 2 +- rts/RtsFlags.c | 2 +- rts/RtsUtils.c | 2 +- rts/Schedule.c | 4 +- rts/Stats.c | 34 ++++++++++---------- rts/Stats.h | 4 +- rts/Threads.c | 8 ++-- rts/Trace.c | 46 ++++++++++++++-------------- rts/Trace.h | 44 +++++++++++++------------- rts/eventlog/EventLog.c | 20 ++++++------ rts/eventlog/EventLog.h | 20 ++++++------ rts/hooks/MallocFail.c | 2 +- rts/hooks/OutOfHeap.c | 2 +- rts/hooks/StackOverflow.c | 2 +- rts/parallel/ParTicky.c | 4 +- rts/posix/OSMem.c | 12 ++++---- rts/sm/BlockAlloc.c | 6 ++-- rts/sm/BlockAlloc.h | 4 +- rts/sm/Evac.h | 2 +- rts/sm/GC.c | 20 ++++++------ rts/sm/GCThread.h | 18 +++++----- rts/sm/GCUtils.c | 2 +- rts/sm/MBlock.c | 6 ++-- rts/sm/OSMem.h | 4 +- rts/sm/Sanity.c | 10 +++--- rts/sm/Scav.c | 8 ++-- rts/sm/Storage.c | 56 +++++++++++++++++----------------- rts/sm/Storage.h | 24 +++++++------- rts/win32/OSMem.c | 30 +++++++++--------- 48 files changed, 243 insertions(+), 241 deletions(-) Diff suppressed because of size. To see it, use: git show 9f67d9fe9fca4624e20426abe98522a1d24ce101 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
