diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-05 06:59:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-05 06:59:59 +0000 |
commit | 6d316f85ba97b38292820159d718504d19ad9edb (patch) | |
tree | b3b9edaf83c8fe7559d1a74163c48768c08e3bd4 /lib/ExecutionEngine/JIT/JIT.cpp | |
parent | 3150e2de93563825943ade523272acdd93ef1bcf (diff) |
Revert this patch, it broke a ton of programs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.cpp')
-rw-r--r-- | lib/ExecutionEngine/JIT/JIT.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp index 6427bf32e8..537ca56e02 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; - // 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); } |