projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec24c1
)
[project @ 2004-08-26 11:06:04 by simonmar]
author
simonmar
<unknown>
Thu, 26 Aug 2004 11:06:04 +0000
(11:06 +0000)
committer
simonmar
<unknown>
Thu, 26 Aug 2004 11:06:04 +0000
(11:06 +0000)
Urk, since when has subtraction been associative. /me dons the pointy
hat.
ghc/compiler/cmm/MachOp.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/cmm/MachOp.hs
b/ghc/compiler/cmm/MachOp.hs
index
2d933e0
..
dcf9bb6
100644
(file)
--- a/
ghc/compiler/cmm/MachOp.hs
+++ b/
ghc/compiler/cmm/MachOp.hs
@@
-506,7
+506,6
@@
isAssociativeMachOp :: MachOp -> Bool
isAssociativeMachOp mop =
case mop of
MO_Add r -> not (isFloatingRep r)
- MO_Sub r -> not (isFloatingRep r)
MO_Mul r -> not (isFloatingRep r)
MO_And _ -> True
MO_Or _ -> True