Skip to content
Snippets Groups Projects
Commit 0dcaaafa authored by Misha Brukman's avatar Misha Brukman
Browse files

Add method to delete machine code generated for a Function

llvm-svn: 17600
parent 6bf36bde
No related branches found
No related tags found
No related merge requests found
...@@ -138,6 +138,12 @@ public: ...@@ -138,6 +138,12 @@ public:
/// ///
virtual void *recompileAndRelinkFunction(Function *F) = 0; 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 /// getOrEmitGlobalVariable - Return the address of the specified global
/// variable, possibly emitting it to memory if needed. This is used by the /// variable, possibly emitting it to memory if needed. This is used by the
/// Emitter. /// Emitter.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment