[commit: ghc] master: Schedule.c: remove a redundant CPP guard (ee597e9)

git at git.haskell.org git at git.haskell.org
Tue Mar 6 12:10:32 UTC 2018


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

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

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

commit ee597e9ec78ceb1a9a208c16dbdeb0b67b4ba5ec
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Tue Mar 6 14:16:00 2018 +0300

    Schedule.c: remove a redundant CPP guard
    
    (the CPP guard is already wrapped with the same guard in line 1549)


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

ee597e9ec78ceb1a9a208c16dbdeb0b67b4ba5ec
 rts/Schedule.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/rts/Schedule.c b/rts/Schedule.c
index b8306df..885e737 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -1738,10 +1738,8 @@ scheduleDoGC (Capability **pcap, Task *task USED_IF_THREADS,
         // they have stopped mutating and are standing by for GC.
         waitForGcThreads(cap, idle_cap);
 
-#if defined(THREADED_RTS)
         // Stable point where we can do a global check on our spark counters
         ASSERT(checkSparkCountInvariant());
-#endif
     }
 
 #endif



More information about the ghc-commits mailing list