From 65b6152984ef04346806241585db59387759c642 Mon Sep 17 00:00:00 2001 From: "Ben.Lippmeier@anu.edu.au" Date: Mon, 15 Feb 2010 01:47:19 +0000 Subject: Fix build for non-x86 architectures --- compiler/nativeGen/X86/Regs.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/nativeGen/X86/Regs.hs') diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs index 77e1779efe..697528d6d1 100644 --- a/compiler/nativeGen/X86/Regs.hs +++ b/compiler/nativeGen/X86/Regs.hs @@ -281,9 +281,12 @@ regNames = ["%eax", "%ebx", "%ecx", "%edx", "%esi", "%edi", "%ebp", "%esp"] #elif x86_64_TARGET_ARCH = ["%rax", "%rbx", "%rcx", "%rdx", "%rsi", "%rdi", "%rbp", "%rsp" ] +#else + = [] #endif + -- machine specific ------------------------------------------------------------ -- cgit v1.2.1