[commit: ghc] wip/T15155: WIP: remove tracing (b2b2d2b)
git at git.haskell.org
git at git.haskell.org
Thu May 24 15:38:56 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T15155
Link : http://ghc.haskell.org/trac/ghc/changeset/b2b2d2b7b8cb5aafa419a057972d3a0ff440f6df/ghc
>---------------------------------------------------------------
commit b2b2d2b7b8cb5aafa419a057972d3a0ff440f6df
Author: Gabor Greif <ggreif at gmail.com>
Date: Thu May 24 16:33:43 2018 +0200
WIP: remove tracing
>---------------------------------------------------------------
b2b2d2b7b8cb5aafa419a057972d3a0ff440f6df
compiler/nativeGen/X86/Ppr.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler/nativeGen/X86/Ppr.hs b/compiler/nativeGen/X86/Ppr.hs
index b5571bd..1e00e03 100644
--- a/compiler/nativeGen/X86/Ppr.hs
+++ b/compiler/nativeGen/X86/Ppr.hs
@@ -146,7 +146,7 @@ pprBasicBlock info_env (BasicBlock blockid instrs)
pprDatas :: (Alignment, CmmStatics) -> SDoc
-pprDatas (_, Statics alias [CmmStaticLit lit@(CmmLabel lbl), CmmStaticLit ind, x, y])
+pprDatas (_, Statics alias [CmmStaticLit (CmmLabel lbl), CmmStaticLit ind, x, y])
| lbl == mkIndStaticInfoLabel
, let labelInd (CmmLabelOff l _) = Just l
labelInd (CmmLabel l) = Just l
@@ -155,7 +155,7 @@ pprDatas (_, Statics alias [CmmStaticLit lit@(CmmLabel lbl), CmmStaticLit ind, x
, not $ externallyVisibleCLabel ind' -- trips ld64 otherwise
, let equate = pprGloblDecl alias $$ text ".equiv" <+> ppr alias <> comma <> ppr (CmmLabel ind')
= ASSERT( (case x of CmmStaticLit (CmmInt 0 _) -> True; _ -> False) && (case y of CmmStaticLit (CmmInt 0 _) -> True; _ -> False) )
- pprTrace "IndStaticInfo: pprDatas" (ppr alias <+> ppr lit <+> ppr ind') equate
+ equate
pprDatas (align, (Statics lbl dats))
= vcat (pprAlign align : pprLabel lbl : map pprData dats)
More information about the ghc-commits
mailing list