X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FRetainerProfile.c;h=f75250659cebb9b6806c77c0a98dbaa8095ab7de;hp=553f7e7ad10bd7ca915f3922744903f3c48dfddb;hb=db14f9df7f2f62039af85ac75ac59a4e22d09787;hpb=ed5cbfcb0a4c62e755bd23ec70475deda5899634 diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c index 553f7e7..f752506 100644 --- 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) {