[project @ 2005-11-08 11:02:56 by simonmar]
[ghc-hetmet.git] / ghc / rts / LdvProfile.c
index 9d21f6a..c98a47e 100644 (file)
@@ -128,6 +128,7 @@ processHeapClosureForDead( StgClosure *c )
 
     case MUT_ARR_PTRS:
     case MUT_ARR_PTRS_FROZEN:
+    case MUT_ARR_PTRS_FROZEN0:
        size = mut_arr_ptrs_sizeW((StgMutArrPtrs *)c);
        return size;
 
@@ -137,7 +138,6 @@ processHeapClosureForDead( StgClosure *c )
 
     case WEAK:
     case MUT_VAR:
-    case FOREIGN:
     case BCO:
     case STABLE_NAME:
        size = sizeW_fromITBL(info);
@@ -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;