projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement ExecutionEngine::freeMachineCodeForFunction()
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
JIT
/
JIT.cpp
diff --git
a/lib/ExecutionEngine/JIT/JIT.cpp
b/lib/ExecutionEngine/JIT/JIT.cpp
index 7596c4379731e79d2cfde04f7099a46c291fdf7c..d9866c87ee4225a83189a76ef5cf28f13cf02536 100644
(file)
--- 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
+}