Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix retainer profiling (#2576)

  • Loading branch information...
commit c016a94ccbda0ce35925b8dcded0d9a422f73a74 1 parent fdd7a41
@simonmar simonmar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rts/RetainerProfile.c
View
2  rts/RetainerProfile.c
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.