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:
a1f9036
)
[project @ 2005-07-26 15:14:24 by simonmar]
author
simonmar
<unknown>
Tue, 26 Jul 2005 15:14:24 +0000
(15:14 +0000)
committer
simonmar
<unknown>
Tue, 26 Jul 2005 15:14:24 +0000
(15:14 +0000)
Fix retainer profiling on the HEAD
ghc/rts/RetainerProfile.c
patch
|
blob
|
history
diff --git
a/ghc/rts/RetainerProfile.c
b/ghc/rts/RetainerProfile.c
index
62b6fa3
..
074c256
100644
(file)
--- a/
ghc/rts/RetainerProfile.c
+++ b/
ghc/rts/RetainerProfile.c
@@
-1780,8
+1780,8
@@
computeRetainerSet( void )
for (bd = generations[g].mut_list; bd != NULL; bd = bd->link) {
for (ml = bd->start; ml < bd->free; ml++) {
- maybeInitRetainerSet((StgClosure *)ml);
- rtl = retainerSetOf((StgClosure *)ml);
+ maybeInitRetainerSet((StgClosure *)*ml);
+ rtl = retainerSetOf((StgClosure *)*ml);
#ifdef DEBUG_RETAINER
if (rtl == NULL) {