From 1dc12c3c4acba688327fb2429f0a822bd98a5753 Mon Sep 17 00:00:00 2001 From: sewardj Date: Thu, 9 Aug 2001 12:12:23 +0000 Subject: [PATCH] [project @ 2001-08-09 12:12:23 by sewardj] Initialise n_large_blocks and n_scavenged_large_blocks. --- ghc/rts/Storage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/rts/Storage.c b/ghc/rts/Storage.c index 51720d1..6595ad7 100644 --- a/ghc/rts/Storage.c +++ b/ghc/rts/Storage.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Storage.c,v 1.46 2001/08/08 14:14:08 simonmar Exp $ + * $Id: Storage.c,v 1.47 2001/08/09 12:12:23 sewardj Exp $ * * (c) The GHC Team, 1998-1999 * @@ -148,8 +148,10 @@ initStorage( void ) stp->scan = NULL; stp->scan_bd = NULL; stp->large_objects = NULL; + stp->n_large_blocks = 0; stp->new_large_objects = NULL; stp->scavenged_large_objects = NULL; + stp->n_scavenged_large_blocks = 0; stp->is_compacted = 0; } } -- 1.7.10.4