X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FBlock.h;h=113145e4a4932d4ca4b24bcbc68750a84b02886e;hb=4391e44f910ce579f269986faef9e5db8907a6c0;hp=b8a0260a7a9b748ddf284b39456e8977925801c7;hpb=438596897ebbe25a07e1c82085cfbc5bdb00f09e;p=ghc-hetmet.git diff --git a/ghc/includes/Block.h b/ghc/includes/Block.h index b8a0260..113145e 100644 --- a/ghc/includes/Block.h +++ b/ghc/includes/Block.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Block.h,v 1.2 1998/12/02 13:20:53 simonm Exp $ + * $Id: Block.h,v 1.3 1999/01/13 17:25:51 simonm Exp $ * * Block structure for the storage manager * @@ -43,13 +43,14 @@ typedef struct _bdescr { StgPtr free; /* first free byte of memory */ struct _bdescr *link; /* used for chaining blocks together */ struct _bdescr *back; /* used (occasionally) for doubly-linked lists*/ - StgNat32 gen; /* generation */ - StgNat32 step; /* step */ + struct _generation *gen; /* generation */ + struct _step *step; /* step */ StgNat32 blocks; /* no. of blocks (if grp head, 0 otherwise) */ + StgNat32 evacuated; /* block is in to-space */ #if SIZEOF_VOID_P == 8 - StgNat32 _padding[5]; + StgNat32 _padding[2]; #else - StgNat32 _padding[1]; + StgNat32 _padding[0]; #endif } bdescr;