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:
0a8a41c
)
Fix build on OS X amd64
author
Ian Lynagh
<igloo@earth.li>
Fri, 29 Apr 2011 17:07:57 +0000
(18:07 +0100)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 29 Apr 2011 17:07:57 +0000
(18:07 +0100)
compiler/nativeGen/X86/CodeGen.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/X86/CodeGen.hs
b/compiler/nativeGen/X86/CodeGen.hs
index
74f4073
..
a6cc36f
100644
(file)
--- a/
compiler/nativeGen/X86/CodeGen.hs
+++ b/
compiler/nativeGen/X86/CodeGen.hs
@@
-1946,7
+1946,7
@@
genSwitch expr ids
code = e_code `appOL` t_code `appOL` toOL [
ADD (intSize wordWidth) op (OpReg tableReg),
- JMP_TBL (OpReg tableReg) ids Text lbl,
+ JMP_TBL (OpReg tableReg) ids Text lbl
]
#else
-- HACK: On x86_64 binutils<2.17 is only able to generate PC32