X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FStable.c;h=c46f8b2b9e40055871fdabfa648ec84b97d071ff;hb=fff1f6194c3c39de53cd645bda9865fb131b1c68;hp=b427c94965da2800397f0f7e944181654c873e5f;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;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);