aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit895eddfad43f848d5accce1789aa80be0db459d3 (patch)
tree3dec6ac58d51b74101756701df13cd9a2a73c04c /lib/ExecutionEngine/JIT/JIT.h
parente81aaf238c32dbc34274ede09fb16aa78dae9f53 (diff)
downloadexternal_llvm-895eddfad43f848d5accce1789aa80be0db459d3.zip
external_llvm-895eddfad43f848d5accce1789aa80be0db459d3.tar.gz
external_llvm-895eddfad43f848d5accce1789aa80be0db459d3.tar.bz2
Implement ExecutionEngine::freeMachineCodeForFunction()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r--lib/ExecutionEngine/JIT/JIT.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h
index 414d1c6..b0c26b0 100644
--- a/lib/ExecutionEngine/JIT/JIT.h
+++ b/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);