[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
Misha Brukman
brukman at cs.uiuc.edu
Sun Nov 7 15:58:12 PST 2004
Changes in directory llvm/include/llvm/ExecutionEngine:
ExecutionEngine.h updated: 1.27 -> 1.28
---
Log message:
Add method to delete machine code generated for a Function
---
Diffs of the changes: (+6 -0)
Index: llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
diff -u llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.27 llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.28
--- llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:1.27 Fri Sep 3 13:19:51 2004
+++ llvm/include/llvm/ExecutionEngine/ExecutionEngine.h Sun Nov 7 17:58:02 2004
@@ -138,6 +138,12 @@
///
virtual void *recompileAndRelinkFunction(Function *F) = 0;
+ /// freeMachineCodeForFunction - Release memory in the ExecutionEngine
+ /// corresponding to the machine code emitted to execute this function, useful
+ /// for garbage-collecting generated code.
+ ///
+ virtual void freeMachineCodeForFunction(Function *F) = 0;
+
/// getOrEmitGlobalVariable - Return the address of the specified global
/// variable, possibly emitting it to memory if needed. This is used by the
/// Emitter.
More information about the llvm-commits
mailing list