change of representation for GenCmm, GenCmmTop, CmmProc
authorNorman Ramsey <nr@eecs.harvard.edu>
Wed, 5 Sep 2007 16:48:02 +0000 (16:48 +0000)
committerNorman Ramsey <nr@eecs.harvard.edu>
Wed, 5 Sep 2007 16:48:02 +0000 (16:48 +0000)
commit16dc208aaad7aadaea970e47b8055d7d7f8781e5
tree134bc2f6217a11aabc769605804d65c03131d903
parent807b00a759afd11530949f91bd523bb45f01bd40
change of representation for GenCmm, GenCmmTop, CmmProc
The type parameter to a C-- procedure now represents a control-flow
graph, not a single instruction.  The newtype ListGraph preserves the
current representation while enabling other representations and a
sensible way of prettyprinting.  Except for a few changes in the
prettyprinter the new compiler binary should be bit-for-bit identical
to the old.
19 files changed:
compiler/cmm/Cmm.hs
compiler/cmm/CmmCPS.hs
compiler/cmm/CmmCPSGen.hs
compiler/cmm/CmmInfo.hs
compiler/cmm/CmmLint.hs
compiler/cmm/CmmOpt.hs
compiler/cmm/PprC.hs
compiler/cmm/PprCmm.hs
compiler/codeGen/CgMonad.lhs
compiler/codeGen/CgUtils.hs
compiler/main/GHC.hs
compiler/nativeGen/AsmCodeGen.lhs
compiler/nativeGen/MachCodeGen.hs
compiler/nativeGen/MachInstrs.hs
compiler/nativeGen/PositionIndependentCode.hs
compiler/nativeGen/PprMach.hs
compiler/nativeGen/RegAllocLinear.hs
compiler/nativeGen/RegCoalesce.hs
compiler/nativeGen/RegLiveness.hs