diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-11-22 21:54:35 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-11-22 21:54:35 +0000 |
| commit | 88dc917c7233b824cc694610fc96b60567a8f6be (patch) | |
| tree | 1a444630e616bef8c39e031a8c9f18a93d2e665b /llvm/lib/ExecutionEngine/JIT/Emitter.cpp | |
| parent | 0e7faedde708efa9a8293a1015d3e0fd4adff67c (diff) | |
| download | bcm5719-llvm-88dc917c7233b824cc694610fc96b60567a8f6be.tar.gz bcm5719-llvm-88dc917c7233b824cc694610fc96b60567a8f6be.zip | |
Fix the FIXME, nuke the JIT specific forceCompilationOf method.
llvm-svn: 18131
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/Emitter.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/Emitter.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/Emitter.cpp b/llvm/lib/ExecutionEngine/JIT/Emitter.cpp index be81614a023..50ec2e11d25 100644 --- a/llvm/lib/ExecutionEngine/JIT/Emitter.cpp +++ b/llvm/lib/ExecutionEngine/JIT/Emitter.cpp @@ -252,13 +252,6 @@ namespace { virtual uint64_t getCurrentPCOffset(); virtual uint64_t getConstantPoolEntryAddress(unsigned Entry); - // forceCompilationOf - Force the compilation of the specified function, and - // return its address, because we REALLY need the address now. - // - // FIXME: This is JIT specific! - // - virtual uint64_t forceCompilationOf(Function *F); - private: void *getPointerToGlobal(GlobalValue *GV, void *Reference, bool NoNeedStub); }; @@ -417,10 +410,6 @@ uint64_t Emitter::getCurrentPCOffset() { return (intptr_t)CurByte-(intptr_t)CurBlock; } -uint64_t Emitter::forceCompilationOf(Function *F) { - return (intptr_t)TheJIT->getPointerToFunction(F); -} - // getPointerToNamedFunction - This function is used as a global wrapper to // JIT::getPointerToNamedFunction for the purpose of resolving symbols when // bugpoint is debugging the JIT. In that scenario, we are loading an .so and |

