X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FGC.c;h=cbb939ea6a74ba27ba8fbcc10b63f72d333acbb0;hb=ed10f2828652819fadfd4783a612c433361169c3;hp=7a447fdec3da1bf5761257a911a388a5e73f4cb5;hpb=b4075d9d55eb335152a268fedf776e67e70bf275;p=ghc-hetmet.git diff --git a/ghc/rts/GC.c b/ghc/rts/GC.c index 7a447fd..cbb939e 100644 --- a/ghc/rts/GC.c +++ b/ghc/rts/GC.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: GC.c,v 1.157 2003/06/26 20:47:47 panne Exp $ + * $Id: GC.c,v 1.158 2003/08/14 15:36:13 simonmar Exp $ * * (c) The GHC Team 1998-2003 * @@ -378,6 +378,7 @@ GarbageCollect ( void (*get_roots)(evac_fn), rtsBool force_major_gc ) if (RtsFlags.GcFlags.generations == 1) { old_to_blocks = g0s0->to_blocks; g0s0->to_blocks = NULL; + g0s0->n_to_blocks = 0; } /* Keep a count of how many new blocks we allocated during this GC