X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStgStorage.h;h=5c0ca12a5160ee574aab1ab150e26f50d3f92299;hb=49bff3215bf3fe9ada24dac2cf80f97db4e597dd;hp=3af566d891dcc488aab081593270cebdcb9efa63;hpb=76a51a41211a151d68a90e8dd732aeea1da17847;p=ghc-hetmet.git diff --git a/ghc/includes/StgStorage.h b/ghc/includes/StgStorage.h index 3af566d..5c0ca12 100644 --- a/ghc/includes/StgStorage.h +++ b/ghc/includes/StgStorage.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgStorage.h,v 1.10 2001/07/24 16:36:44 simonmar Exp $ + * $Id: StgStorage.h,v 1.12 2003/03/26 17:40:58 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -96,15 +96,11 @@ typedef struct _generation { CloseNursery(hp) Closes the allocation area. - PleaseStopAllocating(void) Arranges that the next call to - ExtendNursery() will fail, triggering - a return to the scheduler. This is - useful for asynchronous interupts etc. -------------------------------------------------------------------------- */ #define OpenNursery(hp,hplim) \ (hp = CurrentNursery->free-1, \ - hplim = CurrentNursery->start + BLOCK_SIZE_W - 1) + hplim = CurrentNursery->start + CurrentNursery->blocks*BLOCK_SIZE_W - 1) #define CloseNursery(hp) (CurrentNursery->free = (P_)(hp)+1)