X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FPrinter.c;h=2a0346ba4b31a6a0139d02ea9aa24ca3b9510c2e;hp=28cdd0d4abd8c65aec0668245ea7d482eeb2c163;hb=23e5985c3db852981d527d10d6a6271688049790;hpb=cdce647711c0f46f5799b24de087622cb77e647f diff --git a/rts/Printer.c b/rts/Printer.c index 28cdd0d..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 @@ -1157,14 +1157,14 @@ void prettyPrintClosure_ (StgClosure *obj) case CONSTR_STATIC: case CONSTR_NOCAF_STATIC: { - int i; + nat i; char *descriptor; /* find the con_info for the constructor */ 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);