X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FStable.c;fp=rts%2FStable.c;h=c46f8b2b9e40055871fdabfa648ec84b97d071ff;hb=70a2431f90fa932733ce015714ef7848640ed48f;hp=b427c94965da2800397f0f7e944181654c873e5f;hpb=f4692220c7cbdadaa633f50eb2b30b59edb30183;p=ghc-hetmet.git diff --git a/rts/Stable.c b/rts/Stable.c index b427c94..c46f8b2 100644 --- a/rts/Stable.c +++ b/rts/Stable.c @@ -188,9 +188,7 @@ removeIndirections(StgClosure* p) while (get_itbl(q)->type == IND || get_itbl(q)->type == IND_STATIC || - get_itbl(q)->type == IND_OLDGEN || - get_itbl(q)->type == IND_PERM || - get_itbl(q)->type == IND_OLDGEN_PERM ) { + get_itbl(q)->type == IND_PERM) { q = ((StgInd *)q)->indirectee; tag = GET_CLOSURE_TAG(q); q = UNTAG_CLOSURE(q);