add (trivial) support for STM objects in lag/drag/void profiling
authorSimon Marlow <simonmar@microsoft.com>
Thu, 23 Feb 2006 15:48:59 +0000 (15:48 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 23 Feb 2006 15:48:59 +0000 (15:48 +0000)
ghc/rts/LdvProfile.c

index d8f5665..18daf5a 100644 (file)
@@ -108,6 +108,10 @@ processHeapClosureForDead( StgClosure *c )
     case MUT_VAR_DIRTY:
     case BCO:
     case STABLE_NAME:
+    case TVAR_WAIT_QUEUE:
+    case TVAR:
+    case TREC_HEADER:
+    case TREC_CHUNK:
        return size;
 
        /*