From 712ab7c768423fe61f01573239ea4e792517fee8 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 3 Jun 2005 08:47:58 +0000 Subject: [PATCH] [project @ 2005-06-03 08:47:58 by simonmar] Fix crash in LDV profiling on the HEAD --- ghc/rts/LdvProfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/rts/LdvProfile.c b/ghc/rts/LdvProfile.c index 9d21f6a..ec91b1a 100644 --- a/ghc/rts/LdvProfile.c +++ b/ghc/rts/LdvProfile.c @@ -289,7 +289,7 @@ processNurseryForDead( void ) StgPtr p, bdLimit; bdescr *bd; - bd = MainCapability.r.rNursery; + bd = MainCapability.r.rNursery->blocks; while (bd->start < bd->free) { p = bd->start; bdLimit = bd->start + BLOCK_SIZE_W; -- 1.7.10.4