summaryrefslogtreecommitdiff
path: root/rts/Weak.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Weak.c')
-rw-r--r--rts/Weak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Weak.c b/rts/Weak.c
index 0adf5a8b92..82c5c146e9 100644
--- a/rts/Weak.c
+++ b/rts/Weak.c
@@ -95,7 +95,7 @@ scheduleFinalizers(Capability *cap, StgWeak *list)
// n_finalizers is not necessarily zero under non-moving collection
// because non-moving collector does not wait for the list to be consumed
// (by doIdleGcWork()) before appending the list with more finalizers.
- ASSERT(RtsFlags.GcFlags.useNonmoving || SEQ_CST_LOAD(&n_finalizers) == 0);
+ ASSERT(RtsFlags.GcFlags.concurrentNonmoving || SEQ_CST_LOAD(&n_finalizers) == 0);
// Append finalizer_list with the new list. TODO: Perhaps cache tail of the
// list for faster append. NOTE: We can't append `list` here! Otherwise we