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 | 1a0117f6413e6a4112ff5d20668551224a49f636 (patch) | |
tree | 1248c1863ad4a1a68094ceaba14ce804cb4c5231 | |
parent | f878f75d4675230d173c10c9c06163133d68a047 (diff) | |
download | llvm-1a0117f6413e6a4112ff5d20668551224a49f636.zip llvm-1a0117f6413e6a4112ff5d20668551224a49f636.tar.gz llvm-1a0117f6413e6a4112ff5d20668551224a49f636.tar.bz2 |
Revert this patch, it broke a ton of programs.
llvm-svn: 18535
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp index 6427bf3..537ca56 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp +++ b/llvm/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); } |