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:
ed5cbfc
)
Fix retainer profiling
Before_type_family_merge
author
Ian Lynagh
<igloo@earth.li>
Sun, 26 Aug 2007 14:45:40 +0000
(14:45 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 26 Aug 2007 14:45:40 +0000
(14:45 +0000)
rts/RetainerProfile.c
patch
|
blob
|
history
diff --git
a/rts/RetainerProfile.c
b/rts/RetainerProfile.c
index
553f7e7
..
f752506
100644
(file)
--- a/
rts/RetainerProfile.c
+++ b/
rts/RetainerProfile.c
@@
-1439,7
+1439,7
@@
retainStack( StgClosure *c, retainer c_child_r,
StgFunInfoTable *fun_info;
retainClosure(ret_fun->fun, c, c_child_r);
- fun_info = get_fun_itbl(ret_fun->fun);
+ fun_info = get_fun_itbl(UNTAG_CLOSURE(ret_fun->fun));
p = (P_)&ret_fun->payload;
switch (fun_info->f.fun_type) {