projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NCG: Split out joinToTargets from linear alloctor into its own module.
[ghc-hetmet.git]
/
compiler
/
nativeGen
/
RegAllocStats.hs
diff --git
a/compiler/nativeGen/RegAllocStats.hs
b/compiler/nativeGen/RegAllocStats.hs
index
2c41905
..
12f4cee
100644
(file)
--- a/
compiler/nativeGen/RegAllocStats.hs
+++ b/
compiler/nativeGen/RegAllocStats.hs
@@
-327,6
+327,13
@@
regDotColor reg
RcFloat -> text "red"
RcDouble -> text "green"
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
#else
#error ToDo: regDotColor
#endif