X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FPrinter.c;h=134dce4d7e4fe7d7915223a94c0ba857bbfee6c7;hb=daa4d18454157f664a0ff333bb592bb0bd6b4edc;hp=ef474f396bf955f77978610eb67fbd19971db311;hpb=a6a97070b86949e6db86b669a9e8d39f88492d26;p=ghc-hetmet.git diff --git a/ghc/rts/Printer.c b/ghc/rts/Printer.c index ef474f3..134dce4 100644 --- a/ghc/rts/Printer.c +++ b/ghc/rts/Printer.c @@ -33,7 +33,6 @@ int fixed_hs = sizeof(StgHeader), itbl_sz = sizeofW(StgInfoTable), * local function decls * ------------------------------------------------------------------------*/ -static void printStdObject( StgClosure *obj, char* tag ); static void printStdObjPayload( StgClosure *obj ); #ifdef USING_LIBBFD static void reset_table ( int size ); @@ -114,13 +113,6 @@ printThunkPayload( StgThunk *obj ) } static void -printStdObject( StgClosure *obj, char* tag ) -{ - printStdObjHdr( obj, tag ); - printStdObjPayload( obj ); -} - -static void printThunkObject( StgThunk *obj, char* tag ) { printStdObjHdr( (StgClosure *)obj, tag ); @@ -146,9 +138,6 @@ printClosure( StgClosure *obj ) case CONSTR_STATIC: case CONSTR_NOCAF_STATIC: { - /* We can't use printStdObject because we want to print the - * tag as well. - */ StgWord i, j; #ifdef PROFILING debugBelch("%s(", info->prof.closure_desc);