aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-10-06 00:35:55 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-10-06 00:35:55 +0000
commit5d3b7ca3aa24f7b0f1edc18c8f72d9bf1a84169c (patch)
treed07d203424716acc219b27fb6779bfd134bf5ca4 /lib/ExecutionEngine
parent93d2e89b3e82de8ab53b252b5f86de4e3b6980b6 (diff)
downloadexternal_llvm-5d3b7ca3aa24f7b0f1edc18c8f72d9bf1a84169c.zip
external_llvm-5d3b7ca3aa24f7b0f1edc18c8f72d9bf1a84169c.tar.gz
external_llvm-5d3b7ca3aa24f7b0f1edc18c8f72d9bf1a84169c.tar.bz2
Fix http://llvm.org/PR5116 by rolling back r60822. This passes `make unittests
check-lit` on both x86-64 Linux and x86-32 Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/JIT/JITEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 590846b..8548356 100644
--- a/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -644,7 +644,7 @@ void *JITEmitter::getPointerToGlobal(GlobalValue *V, void *Reference,
// If we have already compiled the function, return a pointer to its body.
Function *F = cast<Function>(V);
void *ResultPtr;
- if (!DoesntNeedStub && !TheJIT->isLazyCompilationDisabled()) {
+ if (!DoesntNeedStub) {
// Return the function stub if it's already created.
ResultPtr = Resolver.getFunctionStubIfAvailable(F);
if (ResultPtr)