[project @ 2004-09-13 17:10:48 by sof]
authorsof <unknown>
Mon, 13 Sep 2004 17:10:48 +0000 (17:10 +0000)
committersof <unknown>
Mon, 13 Sep 2004 17:10:48 +0000 (17:10 +0000)
printClosure(): handle MVARs

ghc/rts/Printer.c

index 0f65ac9..c72b33a 100644 (file)
@@ -351,6 +351,13 @@ printClosure( StgClosure *obj )
           }
 #endif  
 
+    case MVAR:
+        {
+         StgMVar* mv = (StgMVar*)obj;
+         debugBelch("MVAR(head=%p, link=%p, tail=%p, value=%p)\n", mv->head, mv->mut_link, mv->tail, mv->value);
+          break;
+        }
+
     case MUT_VAR:
         {
          StgMutVar* mv = (StgMutVar*)obj;