summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2018-03-06 14:16:00 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-03-06 15:10:13 +0300
commitee597e9ec78ceb1a9a208c16dbdeb0b67b4ba5ec (patch)
treeaa1561bed0107628f5fd561570a9863fe3f2cec7
parentcf5bc96e1b023275ec3c0399f3345ceebbc48df0 (diff)
downloadhaskell-ee597e9ec78ceb1a9a208c16dbdeb0b67b4ba5ec.tar.gz
Schedule.c: remove a redundant CPP guard
(the CPP guard is already wrapped with the same guard in line 1549)
-rw-r--r--rts/Schedule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c
index b8306df39f..885e737aad 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