diff options
author | Ben.Lippmeier@anu.edu.au <unknown> | 2010-02-15 01:47:19 +0000 |
---|---|---|
committer | Ben.Lippmeier@anu.edu.au <unknown> | 2010-02-15 01:47:19 +0000 |
commit | 65b6152984ef04346806241585db59387759c642 (patch) | |
tree | 6130acfee16bfc7f7d1cdf34cc58623fdbf23631 /compiler/nativeGen/X86/Regs.hs | |
parent | 59b01a2fb6cd6a9af37f5fd6775f574bc53af02a (diff) | |
download | haskell-65b6152984ef04346806241585db59387759c642.tar.gz |
Fix build for non-x86 architectures
Diffstat (limited to 'compiler/nativeGen/X86/Regs.hs')
-rw-r--r-- | compiler/nativeGen/X86/Regs.hs | 3 |
1 files changed, 3 insertions, 0 deletions
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 ------------------------------------------------------------ |