Commit 9a11883c authored by Simon Marlow's avatar Simon Marlow
Browse files

FIX #1519, crash in biographical profiling

In eval_thunk_selector(), when filling the slop for a closure we've
just updated, we were using the wrong info table.  This bug appears to
have been in 6.6, too.
parent 0d88de0b
......@@ -905,7 +905,7 @@ selector_loop:
// For the purposes of LDV profiling, we have destroyed
// the original selector thunk.
SET_INFO(p, info_ptr);
SET_INFO(selectee, info_ptr);
((StgInd *)selectee)->indirectee = 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