mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Add method to delete machine code generated for a Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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.
|
||||||
|
Reference in New Issue
Block a user