This method does not exist any longer.
authorChris Lattner <sabre@nondot.org>
Sat, 20 Nov 2004 23:51:03 +0000 (23:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 20 Nov 2004 23:51:03 +0000 (23:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18061 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/JIT/JIT.cpp

index 71f1dd0d6b345a7035eb87b4b26aa52e56a87b03..56625d691d898e81da515b7c8d82b335c9b33181 100644 (file)
@@ -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);
 }