X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FBlockAlloc.c;fp=rts%2Fsm%2FBlockAlloc.c;h=edc37620bda566dde53d17529f3c67df919243f7;hb=214b3663d5d7598c13643f9221e43d5a7735b47f;hp=898624a2670d70e5bb97a77839a151e945ff331b;hpb=7cb1d9274e84ee2fc2dd610aa4f7686586ca0357;p=ghc-hetmet.git diff --git a/rts/sm/BlockAlloc.c b/rts/sm/BlockAlloc.c index 898624a..edc3762 100644 --- a/rts/sm/BlockAlloc.c +++ b/rts/sm/BlockAlloc.c @@ -58,7 +58,7 @@ static void initMBlock(void *mblock); The following fields are not used by the allocator: bd->flags bd->gen_no - bd->step + bd->gen bd->dest Exceptions: we don't maintain invariants for all the blocks within a @@ -470,7 +470,7 @@ freeGroup(bdescr *p) ASSERT(p->free != (P_)-1); p->free = (void *)-1; /* indicates that this block is free */ - p->step = NULL; + p->gen = NULL; p->gen_no = 0; /* fill the block group with garbage if sanity checking is on */ IF_DEBUG(sanity,memset(p->start, 0xaa, p->blocks * BLOCK_SIZE));