X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FPrinter.c;h=2a0346ba4b31a6a0139d02ea9aa24ca3b9510c2e;hb=d4050431de1adddedb240e497f77f89301f77070;hp=7364edd37f89a6dbcd1f71cf34b9d67d94b59c2a;hpb=edb58a77c7d4aa4c17e3114fe7ac733df5e745ab;p=ghc-hetmet.git diff --git a/rts/Printer.c b/rts/Printer.c index 7364edd..2a0346b 100644 --- a/rts/Printer.c +++ b/rts/Printer.c @@ -138,7 +138,7 @@ printClosure( StgClosure *obj ) StgWord i, j; #ifdef PROFILING - debugBelch("%s(", info->prof.closure_desc); + debugBelch("%s(", GET_PROF_DESC(info)); debugBelch("%s", obj->header.prof.ccs->cc->label); #else debugBelch("CONSTR("); @@ -174,7 +174,7 @@ printClosure( StgClosure *obj ) case THUNK_STATIC: /* ToDo: will this work for THUNK_STATIC too? */ #ifdef PROFILING - printThunkObject((StgThunk *)obj,info->prof.closure_desc); + printThunkObject((StgThunk *)obj,GET_PROF_DESC(info)); #else printThunkObject((StgThunk *)obj,"THUNK"); #endif @@ -1164,7 +1164,7 @@ void prettyPrintClosure_ (StgClosure *obj) con_info = get_con_itbl (obj); /* obtain the name of the constructor */ - descriptor = con_info->con_desc; + descriptor = GET_CON_DESC(con_info); debugBelch ("(%s", descriptor);