X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FPrinter.c;h=2fbe2765a648ce84ca87626ebfc39929b81827a3;hb=bf040a9fd94b84518931b2d9fca362ac1741631b;hp=3e80bd1a6f08a106eaf6e164a93861b50f77d11f;hpb=1ed01a871030f05905a9595e4837dfffc087ef64;p=ghc-hetmet.git diff --git a/rts/Printer.c b/rts/Printer.c index 3e80bd1..2fbe276 100644 --- a/rts/Printer.c +++ b/rts/Printer.c @@ -121,8 +121,9 @@ printThunkObject( StgThunk *obj, char* tag ) void printClosure( StgClosure *obj ) { + obj = UNTAG_CLOSURE(obj); + StgInfoTable *info; - info = get_itbl(obj); switch ( info->type ) { @@ -306,14 +307,6 @@ printClosure( StgClosure *obj ) debugBelch("BH\n"); break; - case SE_BLACKHOLE: - debugBelch("SE_BH\n"); - break; - - case SE_CAF_BLACKHOLE: - debugBelch("SE_CAF_BH\n"); - break; - case ARR_WORDS: { StgWord i;