aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ExecutionEngine/JIT/JIT.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp
index 71f1dd0d6b..56625d691d 100644
--- a/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/lib/ExecutionEngine/JIT/JIT.cpp
@@ -274,10 +274,6 @@ void *JIT::getPointerToFunctionOrStub(Function *F) {
if (void *Addr = getPointerToGlobalIfAvailable(F))
return Addr;
- // If the target supports "stubs" for functions, get a stub now.
- if (void *Ptr = TJI.getJITStubForFunction(F, *MCE))
- return Ptr;
-
// Otherwise, if the target doesn't support it, just codegen the function.
return getPointerToFunction(F);
}