projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76b6a0
)
Make the instance of DebugNodes more H98-like
author
simonpj@microsoft.com
<unknown>
Fri, 4 Jan 2008 10:54:09 +0000
(10:54 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 4 Jan 2008 10:54:09 +0000
(10:54 +0000)
compiler/cmm/CmmSpillReload.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/CmmSpillReload.hs
b/compiler/cmm/CmmSpillReload.hs
index
0c53309
..
707a571
100644
(file)
--- a/
compiler/cmm/CmmSpillReload.hs
+++ b/
compiler/cmm/CmmSpillReload.hs
@@
-360,7
+360,7
@@
instance Outputable m => Outputable (ExtendWithSpills m) where
ppr (Reload regs) = ppr_regs "Reload" regs
ppr (NotSpillOrReload m) = ppr m
-instance DebugNodes M Last
+instance Outputable m => DebugNodes (ExtendWithSpills m) Last
ppr_regs :: String -> RegSet -> SDoc
ppr_regs s regs = text s <+> commafy (map ppr $ uniqSetToList regs)