Revert this patch, it broke a ton of programs.

llvm-svn: 18535
This commit is contained in:
Chris Lattner 2004-12-05 06:59:59 +00:00
parent f878f75d46
commit 1a0117f641
1 changed files with 0 additions and 4 deletions

View File

@ -274,10 +274,6 @@ void *JIT::getPointerToFunctionOrStub(Function *F) {
if (void *Addr = getPointerToGlobalIfAvailable(F))
return Addr;
// Get a stub if the target supports it
if (void *Addr = TJI.emitFunctionStub(F, *MCE))
return Addr;
// Otherwise, if the target doesn't support it, just codegen the function.
return getPointerToFunction(F);
}