diff options
author | Ian Lynagh <igloo@earth.li> | 2011-04-29 18:07:57 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-04-29 18:07:57 +0100 |
commit | 81ca050634c59d6b9a42a6bdc8224902f20ec542 (patch) | |
tree | be71b4462c98b5d76dc994cbe7e1ecc41265b0aa | |
parent | 0a8a41c09aa4c331fdec25aff418d0c8f4468d27 (diff) | |
download | haskell-cross.tar.gz |
Fix build on OS X amd64cross
-rw-r--r-- | compiler/nativeGen/X86/CodeGen.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nativeGen/X86/CodeGen.hs b/compiler/nativeGen/X86/CodeGen.hs index 74f4073469..a6cc36fcb7 100644 --- 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 |