diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-11-07 23:58:46 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-11-07 23:58:46 +0000 |
commit | 895eddfad43f848d5accce1789aa80be0db459d3 (patch) | |
tree | 3dec6ac58d51b74101756701df13cd9a2a73c04c /lib/ExecutionEngine/JIT/JIT.cpp | |
parent | e81aaf238c32dbc34274ede09fb16aa78dae9f53 (diff) |
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.cpp')
-rw-r--r-- | lib/ExecutionEngine/JIT/JIT.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.cpp b/lib/ExecutionEngine/JIT/JIT.cpp index 7596c43797..d9866c87ee 100644 --- a/lib/ExecutionEngine/JIT/JIT.cpp +++ b/lib/ExecutionEngine/JIT/JIT.cpp @@ -330,3 +330,9 @@ void *JIT::recompileAndRelinkFunction(Function *F) { TJI.replaceMachineCodeForFunction(OldAddr, Addr); return Addr; } + +/// freeMachineCodeForFunction - release machine code memory for given Function +/// +void JIT::freeMachineCodeForFunction(Function *F) { + // currently a no-op +} |