[project @ 2005-06-03 08:47:58 by simonmar]
authorsimonmar <unknown>
Fri, 3 Jun 2005 08:47:58 +0000 (08:47 +0000)
committersimonmar <unknown>
Fri, 3 Jun 2005 08:47:58 +0000 (08:47 +0000)
Fix crash in LDV profiling on the HEAD

ghc/rts/LdvProfile.c

index 9d21f6a..ec91b1a 100644 (file)
@@ -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;