Revert "Fix processHeapClosureForDead CONSTR_NOCAF case:"
authorBen Gamari <ben@smart-cactus.org>
Fri, 13 Apr 2018 16:10:45 +0000 (12:10 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 13 Apr 2018 16:10:45 +0000 (12:10 -0400)
This reverts commit a303584e58b3f4791bc5881cb722e7f498e14554.

rts/LdvProfile.c

index 7cf9ceb..7899416 100644 (file)
@@ -101,7 +101,6 @@ processHeapClosureForDead( const StgClosure *c )
     case CONSTR_2_0:
     case CONSTR_1_1:
     case CONSTR_0_2:
-    case CONSTR_NOCAF:
     case FUN:
     case FUN_1_0:
     case FUN_0_1:
@@ -131,6 +130,7 @@ processHeapClosureForDead( const StgClosure *c )
     case IND_STATIC:
     case FUN_STATIC:
     case THUNK_STATIC:
+    case CONSTR_NOCAF:
         // stack objects
     case UPDATE_FRAME:
     case CATCH_FRAME:
@@ -139,9 +139,6 @@ processHeapClosureForDead( const StgClosure *c )
     case RET_BCO:
     case RET_SMALL:
     case RET_BIG:
-    case CATCH_STM_FRAME:
-    case CATCH_RETRY_FRAME:
-    case ATOMICALLY_FRAME:
         // others
     case INVALID_OBJECT:
     case COMPACT_NFDATA: