diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-24 02:57:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-24 02:57:03 +0000 |
commit | 05858a9e320e65f318074bf2c7f1fde0035ed2c1 (patch) | |
tree | 47535eb7186acd7a6c8df638b9a07c2cbe28b38d /llvm/lib/ExecutionEngine/JIT/JIT.h | |
parent | d7ef3f804dfccae0f38506294bbaf91272cdb59c (diff) | |
download | bcm5719-llvm-05858a9e320e65f318074bf2c7f1fde0035ed2c1.tar.gz bcm5719-llvm-05858a9e320e65f318074bf2c7f1fde0035ed2c1.zip |
Fix PR1216 by cleaning up the ownership of JITResolver.
llvm-svn: 34552
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.h b/llvm/lib/ExecutionEngine/JIT/JIT.h index fbdcf2e636a..c8c89871e82 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.h +++ b/llvm/lib/ExecutionEngine/JIT/JIT.h @@ -118,6 +118,8 @@ public: /// void freeMachineCodeForFunction(Function *F); + /// getCodeEmitter - Return the code emitter this JIT is emitting into. + MachineCodeEmitter *getCodeEmitter() const { return MCE; } private: static MachineCodeEmitter *createEmitter(JIT &J); void runJITOnFunction (Function *F); |