From 3042a5bd1fdb5a8484e3363e66e84a9cce4f02b5 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 3 Aug 2007 10:21:43 +0000 Subject: [PATCH] FIX -ddump-cmm by temporarily disabling the gc_target part (#1582) --- compiler/cmm/PprCmm.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/cmm/PprCmm.hs b/compiler/cmm/PprCmm.hs index 5ce008d..9221c08 100644 --- a/compiler/cmm/PprCmm.hs +++ b/compiler/cmm/PprCmm.hs @@ -130,14 +130,14 @@ instance Outputable CmmSafety where -- style of C--'s 'stackdata' declaration, just inside the proc body, -- and were labelled with the procedure name ++ "_info". pprInfo (CmmInfo gc_target update_frame CmmNonInfoTable) = - vcat [ptext SLIT("gc_target: ") <> - maybe (ptext SLIT("")) pprBlockId gc_target, + vcat [{-ptext SLIT("gc_target: ") <> + maybe (ptext SLIT("")) pprBlockId gc_target,-} ptext SLIT("update_frame: ") <> maybe (ptext SLIT("")) pprUpdateFrame update_frame] pprInfo (CmmInfo gc_target update_frame (CmmInfoTable (ProfilingInfo closure_type closure_desc) tag info)) = - vcat [ptext SLIT("gc_target: ") <> - maybe (ptext SLIT("")) pprBlockId gc_target, + vcat [{-ptext SLIT("gc_target: ") <> + maybe (ptext SLIT("")) pprBlockId gc_target,-} ptext SLIT("update_frame: ") <> maybe (ptext SLIT("")) pprUpdateFrame update_frame, ptext SLIT("type: ") <> pprLit closure_type, -- 1.7.10.4