projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPARC NCG: Enumerate freeRegs / globalRegMaybe instead of using #ifdefery
[ghc-hetmet.git]
/
compiler
/
nativeGen
/
PPC
/
Regs.hs
diff --git
a/compiler/nativeGen/PPC/Regs.hs
b/compiler/nativeGen/PPC/Regs.hs
index
850bbf4
..
d6993b2
100644
(file)
--- a/
compiler/nativeGen/PPC/Regs.hs
+++ b/
compiler/nativeGen/PPC/Regs.hs
@@
-490,7
+490,7
@@
freeReg REG_Hp = fastBool False
#ifdef REG_HpLim
freeReg REG_HpLim = fastBool False
#endif
#ifdef REG_HpLim
freeReg REG_HpLim = fastBool False
#endif
-freeReg _ = fastBool True
+freeReg n = fastBool True
-- | Returns 'Nothing' if this global register is not stored
-- | Returns 'Nothing' if this global register is not stored