projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd7a41
)
Fix retainer profiling (#2576)
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 12 Sep 2008 11:06:43 +0000
(11:06 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 12 Sep 2008 11:06:43 +0000
(11:06 +0000)
rts/RetainerProfile.c
patch
|
blob
|
history
diff --git
a/rts/RetainerProfile.c
b/rts/RetainerProfile.c
index
4850b94
..
8d6126a
100644
(file)
--- a/
rts/RetainerProfile.c
+++ b/
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);