move and generalize another instance (#1405)
authorIsaac Dupree <id@isaac.cedarswampstudios.org>
Wed, 26 Dec 2007 17:49:04 +0000 (17:49 +0000)
committerIsaac Dupree <id@isaac.cedarswampstudios.org>
Wed, 26 Dec 2007 17:49:04 +0000 (17:49 +0000)
commit5a7a311051c2a525c9692a7b2eb47a70cfc7c9fb
tree2322f790c94ab11a468511e09bd61cb0ba139327
parentc886dd30160f26f69336adc7dfc3aab5b89a4dfb
move and generalize another instance (#1405)
was instance Outputable CmmGraph
type CmmGraph = LGraph Middle Last
now instance (ctx) => Outputable (LGraph m l),
in module with LGraph where it belongs
This also let us reduce the context of DebugNodes to Haskell98,
leaving that class's only extension being multi-parameter.
(also Outputable (LGraph M Last) with M = ExtendWithSpills Middle
was another redundant instance that was then removed)
compiler/cmm/CmmSpillReload.hs
compiler/cmm/ZipCfg.hs
compiler/cmm/ZipCfgCmmRep.hs
compiler/cmm/ZipDataflow0.hs