[commit: ghc] master: Use C99's bool (428e152)

git at git.haskell.org git at git.haskell.org
Tue Nov 29 22:19:41 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/428e152be6bb0fd3867e41cee82a6d5968a11a26/ghc

>---------------------------------------------------------------

commit 428e152be6bb0fd3867e41cee82a6d5968a11a26
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Nov 29 16:51:30 2016 -0500

    Use C99's bool
    
    Test Plan: Validate on lots of platforms
    
    Reviewers: erikd, simonmar, austin
    
    Reviewed By: erikd, simonmar
    
    Subscribers: michalt, thomie
    
    Differential Revision: https://phabricator.haskell.org/D2699


>---------------------------------------------------------------

428e152be6bb0fd3867e41cee82a6d5968a11a26
 compiler/main/DriverPipeline.hs      |   6 +-
 docs/storage-mgt/ldv.tex             |   4 +-
 docs/storage-mgt/rp.tex              |   2 +-
 docs/storage-mgt/sm.tex              |  16 +--
 ghc/hschooks.c                       |   2 +-
 includes/Cmm.h                       |   5 +-
 includes/rts/Flags.h                 |  76 +++++-----
 includes/rts/Hpc.h                   |   2 +-
 includes/rts/OSThreads.h             |  10 +-
 includes/rts/Threads.h               |   2 +-
 includes/rts/Types.h                 |   6 +-
 includes/rts/storage/ClosureMacros.h |  10 +-
 includes/rts/storage/GC.h            |   4 +-
 rts/AwaitEvent.h                     |   6 +-
 rts/Capability.c                     |  74 +++++-----
 rts/Capability.h                     |  30 ++--
 rts/CheckUnload.c                    |  32 ++---
 rts/Hpc.c                            |   6 +-
 rts/Interpreter.c                    |   8 +-
 rts/Linker.c                         |  10 +-
 rts/LinkerInternals.h                |   2 +-
 rts/Messages.c                       |   2 +-
 rts/Printer.c                        |   8 +-
 rts/ProfHeap.c                       |  76 +++++-----
 rts/ProfHeap.h                       |   4 +-
 rts/Profiling.c                      |  28 ++--
 rts/Proftimer.c                      |  18 +--
 rts/Proftimer.h                      |   2 +-
 rts/RaiseAsync.c                     |  22 +--
 rts/RaiseAsync.h                     |   4 +-
 rts/RetainerProfile.c                |  28 ++--
 rts/RetainerSet.c                    |   2 +-
 rts/RetainerSet.h                    |  16 +--
 rts/RtsAPI.c                         |   2 +-
 rts/RtsDllMain.c                     |   2 +-
 rts/RtsFlags.c                       | 259 ++++++++++++++++++-----------------
 rts/RtsSignals.h                     |   2 +-
 rts/RtsStartup.c                     |  12 +-
 rts/RtsUtils.c                       |   4 +-
 rts/RtsUtils.h                       |   2 +-
 rts/STM.c                            | 119 +++++++---------
 rts/STM.h                            |   2 +-
 rts/Schedule.c                       | 154 ++++++++++-----------
 rts/Schedule.h                       |  10 +-
 rts/Sparks.h                         |   8 +-
 rts/Stable.c                         |   2 +-
 rts/Stable.h                         |   2 +-
 rts/Stats.c                          |  34 ++---
 rts/Task.c                           |  20 +--
 rts/Task.h                           |  12 +-
 rts/ThreadPaused.c                   |  10 +-
 rts/Threads.c                        |  26 ++--
 rts/Threads.h                        |   8 +-
 rts/Ticker.h                         |   2 +-
 rts/Ticky.c                          |   6 +-
 rts/Timer.c                          |   2 +-
 rts/Timer.h                          |   2 +-
 rts/Trace.c                          |   2 +-
 rts/WSDeque.c                        |   6 +-
 rts/WSDeque.h                        |   6 +-
 rts/Weak.c                           |   8 +-
 rts/Weak.h                           |   2 +-
 rts/hooks/OutOfHeap.c                |   2 +-
 rts/hooks/StackOverflow.c            |   2 +-
 rts/linker/Elf.c                     |  21 ++-
 rts/linker/LoadArchive.c             |   2 +-
 rts/linker/SymbolExtras.c            |   2 +-
 rts/posix/OSMem.c                    |  12 +-
 rts/posix/OSThreads.c                |  10 +-
 rts/posix/Select.c                   |  14 +-
 rts/posix/Signals.c                  |  10 +-
 rts/posix/Signals.h                  |   2 +-
 rts/posix/itimer/Pthread.c           |   2 +-
 rts/posix/itimer/Setitimer.c         |   2 +-
 rts/posix/itimer/TimerCreate.c       |   2 +-
 rts/sm/CNF.c                         | 102 +++++++-------
 rts/sm/Evac.c                        |  38 ++---
 rts/sm/GC.c                          |  60 ++++----
 rts/sm/GC.h                          |  14 +-
 rts/sm/GCThread.h                    |   8 +-
 rts/sm/GCUtils.c                     |   2 +-
 rts/sm/GCUtils.h                     |   2 +-
 rts/sm/MarkStack.h                   |   2 +-
 rts/sm/MarkWeak.c                    |  42 +++---
 rts/sm/MarkWeak.h                    |   2 +-
 rts/sm/OSMem.h                       |   4 +-
 rts/sm/Sanity.c                      |  14 +-
 rts/sm/Sanity.h                      |   6 +-
 rts/sm/Scav.c                        | 160 +++++++++++-----------
 rts/sm/Storage.c                     |  28 ++--
 rts/sm/Storage.h                     |   8 +-
 rts/win32/AsyncIO.c                  |   6 +-
 rts/win32/AsyncIO.h                  |   4 +-
 rts/win32/AwaitEvent.c               |   2 +-
 rts/win32/ConsoleHandler.c           |  28 ++--
 rts/win32/ConsoleHandler.h           |   2 +-
 rts/win32/IOManager.c                |  22 +--
 rts/win32/IOManager.h                |   2 +-
 rts/win32/OSMem.c                    |   4 +-
 rts/win32/OSThreads.c                |  16 +--
 rts/win32/ThrIOManager.c             |   4 +-
 rts/win32/Ticker.c                   |   2 +-
 rts/win32/WorkQueue.c                |  30 ++--
 103 files changed, 953 insertions(+), 993 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 428e152be6bb0fd3867e41cee82a6d5968a11a26


More information about the ghc-commits mailing list