aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-03-23 13:43:47 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-03-23 13:43:47 +0000
commit57348663af576e1a9313a0b92ca8d80e10bff33f (patch)
treee887bb9af9bf833c769bbb8642cb3640e499c503
parent0ab9fa85e79717636de0e83bd36218cfc33f7ad6 (diff)
downloadexternal_llvm-57348663af576e1a9313a0b92ca8d80e10bff33f.zip
external_llvm-57348663af576e1a9313a0b92ca8d80e10bff33f.tar.gz
external_llvm-57348663af576e1a9313a0b92ca8d80e10bff33f.tar.bz2
Provide a JIT selector on win64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48704 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 98d1fb4..a30c950 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -50,7 +50,7 @@ unsigned X86_32TargetMachine::getJITMatchQuality() {
}
unsigned X86_64TargetMachine::getJITMatchQuality() {
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(_M_AMD64)
return 10;
#endif
return 0;