summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/Threads.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/rts/Threads.c b/rts/Threads.c
index 8334c5a5ac..8b05dd7c50 100644
--- a/rts/Threads.c
+++ b/rts/Threads.c
@@ -723,16 +723,6 @@ threadStackUnderflow (Capability *cap, StgTSO *tso)
barf("threadStackUnderflow: not enough space for return values");
}
- IF_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
- // specially.
- for (unsigned int i = 0; i < retvals; i++) {
- updateRemembSetPushClosure(cap, (StgClosure *) old_stack->sp[i]);
- }
- }
-
memcpy(/* dest */ new_stack->sp - retvals,
/* src */ old_stack->sp,
/* size */ retvals * sizeof(W_));