Reset g0s0->n_to_blocks when using the two-space collector. Fixes
ever-increasing live data count with +RTS -Sstderr -G1.
/* -----------------------------------------------------------------------------
- * $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
*
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