Commit a3ea8b44 authored by Simon Marlow's avatar Simon Marlow

fix an assertion failure in prof/threaded/debug mode

parent 19fcb519
......@@ -943,7 +943,11 @@ selector_loop:
// the original selector thunk, p.
SET_INFO(p, (StgInfoTable *)info_ptr);
LDV_RECORD_DEAD_FILL_SLOP_DYNAMIC((StgClosure *)p);
#if defined(THREADED_RTS)
SET_INFO(p, &stg_WHITEHOLE_info);
#else
SET_INFO(p, &stg_BLACKHOLE_info);
#endif
#endif
// the closure in val is now the "value" of the
......
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