Commit f89b598d authored by Simon Marlow's avatar Simon Marlow
Browse files

FIX #1898: add a missing UNTAG_CLOSURE() in checkBlackHoles

parent c01264cf
......@@ -2949,7 +2949,7 @@ checkBlackHoles (Capability *cap)
t = blackhole_queue;
while (t != END_TSO_QUEUE) {
ASSERT(t->why_blocked == BlockedOnBlackHole);
type = get_itbl(t->block_info.closure)->type;
type = get_itbl(UNTAG_CLOSURE(t->block_info.closure))->type;
if (type != BLACKHOLE && type != CAF_BLACKHOLE) {
IF_DEBUG(sanity,checkTSO(t));
t = unblockOne(cap, t);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment