X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FStorage.c;h=fb0c016f5ea6c99e12e5dae04afa3914a3c797b9;hb=776afe7766a4fe991dbb5a38595900ebd95d4d5a;hp=b453e658fb2fa8ddb96b552d5acfe5b17c2788a5;hpb=ef1ab86561d6891def5160127b2af2bef27580c2;p=ghc-hetmet.git diff --git a/ghc/rts/Storage.c b/ghc/rts/Storage.c index b453e65..fb0c016 100644 --- a/ghc/rts/Storage.c +++ b/ghc/rts/Storage.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Storage.c,v 1.81 2003/10/24 09:52:51 simonmar Exp $ + * $Id: Storage.c,v 1.82 2003/10/24 09:56:45 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -475,6 +475,7 @@ allocate( nat n ) nat req_blocks = (lnat)BLOCK_ROUND_UP(n*sizeof(W_)) / BLOCK_SIZE; bd = allocGroup(req_blocks); dbl_link_onto(bd, &g0s0->large_objects); + g0s0->n_large_blocks += req_blocks; bd->gen_no = 0; bd->step = g0s0; bd->flags = BF_LARGE;