[project @ 2005-06-03 08:47:58 by simonmar]
[ghc-hetmet.git] / 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;