projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scrape some unused barnacles off of ZipCfg and put them into ZipCfgExtras
[ghc-hetmet.git]
/
compiler
/
cmm
/
ZipCfgCmmRep.hs
diff --git
a/compiler/cmm/ZipCfgCmmRep.hs
b/compiler/cmm/ZipCfgCmmRep.hs
index
71e206e
..
4c35a92
100644
(file)
--- a/
compiler/cmm/ZipCfgCmmRep.hs
+++ b/
compiler/cmm/ZipCfgCmmRep.hs
@@
-157,12
+157,7
@@
instance Outputable Convention where
instance DF.DebugNodes Middle Last
instance Outputable CmmGraph where
instance DF.DebugNodes Middle Last
instance Outputable CmmGraph where
- ppr = pprCmmGraphAsRep
-
-pprCmmGraphAsRep :: CmmGraph -> SDoc
-pprCmmGraphAsRep g = vcat (map ppr_block blocks)
- where blocks = postorder_dfs g
- ppr_block (Block id tail) = hang (ppr id <> colon) 4 (ppr tail)
+ ppr = pprLgraph
pprMiddle :: Middle -> SDoc
pprMiddle stmt = (case stmt of
pprMiddle :: Middle -> SDoc
pprMiddle stmt = (case stmt of