Implement ExecutionEngine::freeMachineCodeForFunction()
[oota-llvm.git] / lib / ExecutionEngine / JIT / JIT.h
index 414d1c6e6832ebffec18d716699be11482afc32f..b0c26b0d2cc8d17ab426d9dba8edccd9f6868ca0 100644 (file)
@@ -90,6 +90,11 @@ public:
   ///
   void *recompileAndRelinkFunction(Function *F);
 
+  /// freeMachineCodeForFunction - deallocate memory used to code-generate this
+  /// Function.
+  ///
+  void freeMachineCodeForFunction(Function *F);
+
 private:
   static MachineCodeEmitter *createEmitter(JIT &J);
   void runJITOnFunction (Function *F);