Make the instance of DebugNodes more H98-like
authorsimonpj@microsoft.com <unknown>
Fri, 4 Jan 2008 10:54:09 +0000 (10:54 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 4 Jan 2008 10:54:09 +0000 (10:54 +0000)
compiler/cmm/CmmSpillReload.hs

index 0c53309..707a571 100644 (file)
@@ -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)