summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JIT.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-11-07 23:58:46 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-11-07 23:58:46 +0000
commit624685d9a1ad18e4f9e29692c4c2bb754685c186 (patch)
treeb007c09c065e3f3ca6e108b57fa10aa09603a414 /llvm/lib/ExecutionEngine/JIT/JIT.h
parent0dcaaafa0b5c3c56fd4534cf7be76c5c2e99f2c2 (diff)
downloadbcm5719-llvm-624685d9a1ad18e4f9e29692c4c2bb754685c186.tar.gz
bcm5719-llvm-624685d9a1ad18e4f9e29692c4c2bb754685c186.zip
Implement ExecutionEngine::freeMachineCodeForFunction()
llvm-svn: 17601
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JIT.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.h b/llvm/lib/ExecutionEngine/JIT/JIT.h
index 414d1c6e683..b0c26b0d2cc 100644
--- a/llvm/lib/ExecutionEngine/JIT/JIT.h
+++ b/llvm/lib/ExecutionEngine/JIT/JIT.h
@@ -90,6 +90,11 @@ public:
///
void *recompileAndRelinkFunction(Function *F);
+ /// freeMachineCodeForFunction - deallocate memory used to code-generate this
+ /// Function.
+ ///
+ void freeMachineCodeForFunction(Function *F);
+
private:
static MachineCodeEmitter *createEmitter(JIT &J);
void runJITOnFunction (Function *F);
OpenPOWER on IntegriCloud