aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-09-03 05:01:00 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-09-03 05:01:00 +0000
commit22f9144c9b64eff7a4e802b1d872fd2319c7d7e4 (patch)
tree7ac3e6839ca3a97e42d2194054d34f7c6ab78798 /lib/Target
parente8c2780521d463013accc79afe014816d02444ec (diff)
downloadexternal_llvm-22f9144c9b64eff7a4e802b1d872fd2319c7d7e4.zip
external_llvm-22f9144c9b64eff7a4e802b1d872fd2319c7d7e4.tar.gz
external_llvm-22f9144c9b64eff7a4e802b1d872fd2319c7d7e4.tar.bz2
Unbreak x86_64 build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86JITInfo.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp
index 2c0302f..e0a0ece 100644
--- a/lib/Target/X86/X86JITInfo.cpp
+++ b/lib/Target/X86/X86JITInfo.cpp
@@ -408,8 +408,12 @@ TargetJITInfo::LazyResolverFn
X86JITInfo::getLazyResolverFunction(JITCompilerFn F) {
JITCompilerFunction = F;
- return Subtarget->hasSSE1()
- ? X86CompilationCallback_SSE : X86CompilationCallback;
+#if defined (X86_32_JIT) && !defined (_MSC_VER)
+ if (Subtarget->hasSSE1())
+ return X86CompilationCallback_SSE;
+#endif
+
+ return X86CompilationCallback;
}
X86JITInfo::X86JITInfo(X86TargetMachine &tm) : TM(tm) {