From: Ian Lynagh Date: Fri, 29 Apr 2011 17:07:57 +0000 (+0100) Subject: Fix build on OS X amd64 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=81ca050634c59d6b9a42a6bdc8224902f20ec542;p=ghc-hetmet.git Fix build on OS X amd64 --- diff --git a/compiler/nativeGen/X86/CodeGen.hs b/compiler/nativeGen/X86/CodeGen.hs index 74f4073..a6cc36f 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