From 81ca050634c59d6b9a42a6bdc8224902f20ec542 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 29 Apr 2011 18:07:57 +0100 Subject: [PATCH] Fix build on OS X amd64 --- compiler/nativeGen/X86/CodeGen.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4