projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build on PPC: Add some missing parentheses
[ghc-hetmet.git]
/
compiler
/
nativeGen
/
RegArchBase.hs
diff --git
a/compiler/nativeGen/RegArchBase.hs
b/compiler/nativeGen/RegArchBase.hs
index
86f0f0e
..
4709b4c
100644
(file)
--- a/
compiler/nativeGen/RegArchBase.hs
+++ b/
compiler/nativeGen/RegArchBase.hs
@@
-11,7
+11,7
@@
--
-- This code is here because we can test the architecture specific code against it.
--
--
-- This code is here because we can test the architecture specific code against it.
--
---
+
module RegArchBase (
RegClass(..),
Reg(..),
module RegArchBase (
RegClass(..),
Reg(..),
@@
-64,7
+64,7
@@
instance Uniquable Reg where
= mkUnique 'S'
$ fromEnum s * 10000 + fromEnum c * 1000 + i
= mkUnique 'S'
$ fromEnum s * 10000 + fromEnum c * 1000 + i
- getUnique (RegSub s (RegSub c _))
+ getUnique (RegSub _ (RegSub _ _))
= error "RegArchBase.getUnique: can't have a sub-reg of a sub-reg."
-- | A subcomponent of another register
= error "RegArchBase.getUnique: can't have a sub-reg of a sub-reg."
-- | A subcomponent of another register