aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86JITInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-08-28 16:06:41 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-08-28 16:06:41 +0000
commit6f9bb6f31b37380fa9c4412b400b53eba65b7410 (patch)
tree8e9a1ea2168af81f2f3c544b7a878ab5d4f979f8 /lib/Target/X86/X86JITInfo.cpp
parent1cb2de318883ddf3c06a6f644b0f99ec9be66b08 (diff)
Short-term workaround for frame-related weirdness on win64.
Some other minor win64 fixes as well. Patch by Michael Beck! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86JITInfo.cpp')
-rw-r--r--lib/Target/X86/X86JITInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp
index 5c3d101495..d36f87a080 100644
--- a/lib/Target/X86/X86JITInfo.cpp
+++ b/lib/Target/X86/X86JITInfo.cpp
@@ -23,7 +23,7 @@
using namespace llvm;
// Determine the platform we're running on
-#if defined (__x86_64__) || defined (_M_AMD64)
+#if defined (__x86_64__) || defined (_M_AMD64) || defined (_M_X64)
# define X86_64_JIT
#elif defined(__i386__) || defined(i386) || defined(_M_IX86)
# define X86_32_JIT