From 7627b3e8be644bc3462179635f44d88d140a0f33 Mon Sep 17 00:00:00 2001 From: sof Date: Mon, 13 Sep 2004 17:10:48 +0000 Subject: [PATCH 1/1] [project @ 2004-09-13 17:10:48 by sof] printClosure(): handle MVARs --- ghc/rts/Printer.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ghc/rts/Printer.c b/ghc/rts/Printer.c index 0f65ac9..c72b33a 100644 --- a/ghc/rts/Printer.c +++ b/ghc/rts/Printer.c @@ -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; -- 1.7.10.4