X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FStable.c;h=bf5e6aaf0181928aabd970fea28e17fef1983737;hb=72577aafd28453a6977f6a85186c157a864d9fad;hp=d0d64dd63f23df8a6bbf85494ec2ed2751be8a73;hpb=e19ffca9c4f5192a8757bfb3f35e6a3907f29e76;p=ghc-hetmet.git diff --git a/ghc/rts/Stable.c b/ghc/rts/Stable.c index d0d64dd..bf5e6aa 100644 --- a/ghc/rts/Stable.c +++ b/ghc/rts/Stable.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stable.c,v 1.10 2000/02/29 19:59:38 sof Exp $ + * $Id: Stable.c,v 1.11 2000/04/24 22:05:08 panne Exp $ * * (c) The GHC Team, 1998-1999 * @@ -163,11 +163,11 @@ removeIndirections(StgClosure* p) { StgClosure* q = p; - while (q->header.info->type == IND || - q->header.info->type == IND_STATIC || - q->header.info->type == IND_OLDGEN || - q->header.info->type == IND_PERM || - q->header.info->type == IND_OLDGEN_PERM ) { + 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 ) { q = ((StgInd *)q)->indirectee; } return q;