Fix an assertion that was not safe when running in parallel
[ghc-hetmet.git] / rts / LdvProfile.c
index c2e7d7e..412fd05 100644 (file)
@@ -109,13 +109,9 @@ processHeapClosureForDead( StgClosure *c )
     case MUT_VAR_CLEAN:
     case MUT_VAR_DIRTY:
     case BCO:
-    case STABLE_NAME:
-    case TVAR_WATCH_QUEUE:
-    case TVAR:
-    case TREC_HEADER:
+    case PRIM:
+    case MUT_PRIM:
     case TREC_CHUNK:
-    case INVARIANT_CHECK_QUEUE:
-    case ATOMIC_INVARIANT:
        return size;
 
        /*