projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c2780
)
Unbreak x86_64 build.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 3 Sep 2009 05:01:00 +0000
(
05:01
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 3 Sep 2009 05:01:00 +0000
(
05:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80885
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86JITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86JITInfo.cpp
b/lib/Target/X86/X86JITInfo.cpp
index 2c0302ffee6cb633f9f8e0e96392fb6b49184c90..e0a0ecebb4b63c5dff3220b101ea3b8098b46fff 100644
(file)
--- 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) {