Skip to content
Snippets Groups Projects
Commit c016a94c authored by Simon Marlow's avatar Simon Marlow
Browse files

Fix retainer profiling (#2576)

parent fdd7a41e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment