summaryrefslogtreecommitdiff
path: root/rts/sm/MarkWeak.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/MarkWeak.c')
-rw-r--r--rts/sm/MarkWeak.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/rts/sm/MarkWeak.c b/rts/sm/MarkWeak.c
index 9d47cdedeb..ce88466fdf 100644
--- a/rts/sm/MarkWeak.c
+++ b/rts/sm/MarkWeak.c
@@ -303,9 +303,8 @@ traverseBlackholeQueue (void)
continue;
}
}
- tmp = t;
- evacuate((StgClosure **)&tmp);
- if (prev) prev->_link = t;
+ evacuate((StgClosure **)&t);
+ if (prev) prev->_link = t;
// no write barrier when on the blackhole queue,
// because we traverse the whole queue on every GC.
flag = rtsTrue;