Make the SPARC NCG compile again - it's still broken though.
[ghc-hetmet.git] / compiler / nativeGen / RegAllocStats.hs
index 2c41905..12f4cee 100644 (file)
@@ -327,6 +327,13 @@ regDotColor reg
        RcFloat         -> text "red"
        RcDouble        -> text "green"
 
+#elif sparc_TARGET_ARCH
+regDotColor :: Reg -> SDoc
+regDotColor reg
+ = case regClass reg of
+       RcInteger       -> text "blue"
+       RcFloat         -> text "red"
+       RcDouble        -> text "green"
 #else
 #error ToDo: regDotColor
 #endif