diff options
Diffstat (limited to 'rts/Threads.c')
-rw-r--r-- | rts/Threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Threads.c b/rts/Threads.c index 7907fc9196..37d58d7027 100644 --- a/rts/Threads.c +++ b/rts/Threads.c @@ -712,7 +712,7 @@ threadStackUnderflow (Capability *cap, StgTSO *tso) barf("threadStackUnderflow: not enough space for return values"); } - if (nonmoving_write_barrier_enabled) { + if (RTS_UNLIKELY(nonmoving_write_barrier_enabled)) { // ensure that values that we copy into the new stack are marked // for the nonmoving collector. Note that these values won't // necessarily form a full closure so we need to handle them |