Commit c016a94c authored by Simon Marlow's avatar Simon Marlow

Fix retainer profiling (#2576)

parent fdd7a41e
......@@ -1843,7 +1843,7 @@ computeRetainerSet( void )
// for retainer profilng.
for (weak = weak_ptr_list; weak != NULL; weak = weak->link)
// retainRoot((StgClosure *)weak);
retainRoot((StgClosure **)&weak, NULL);
retainRoot(NULL, (StgClosure **)&weak);
// Consider roots from the stable ptr table.
markStablePtrTable(retainRoot, NULL);
......
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