Commit aa982685 authored by Jessica Clarke's avatar Jessica Clarke Committed by Ben Gamari
Browse files

updateThunk: indirectee can be tagged

Reviewers: austin, bgamari, erikd, simonmar, trofi

Reviewed By: trofi

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D4100
parent 9e3add93
......@@ -446,7 +446,7 @@ updateThunk (Capability *cap, StgTSO *tso, StgClosure *thunk, StgClosure *val)
return;
}
v = ((StgInd*)thunk)->indirectee;
v = UNTAG_CLOSURE(((StgInd*)thunk)->indirectee);
updateWithIndirection(cap, thunk, val);
......
Markdown is supported
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