default ppr method for CmmGraph now tells more about the representation
authorNorman Ramsey <nr@eecs.harvard.edu>
Tue, 11 Sep 2007 14:27:01 +0000 (14:27 +0000)
committerNorman Ramsey <nr@eecs.harvard.edu>
Tue, 11 Sep 2007 14:27:01 +0000 (14:27 +0000)
commite8b6200f76059a091e6ae7a03821143819561727
tree4a32e6cef748c2a2d73d9fbab2cf866666391378
parent75879a1e1a0a22d3a7218efd71017af724262704
default ppr method for CmmGraph now tells more about the representation
(Previously, ppr had tried to make the zipper representation look as
much like the ListGraph representation as possible.  This decision was
unhelpful for debugging, so although the old code has been retained,
the new default is to tell it like it is.  It may be possible to
retire PprCmmZ one day, although it may be desirable to retain it as
the internal form becomes less readable.
compiler/cmm/PprCmmZ.hs
compiler/cmm/ZipCfgCmm.hs