llvm-6502/lib/ExecutionEngine
Jeffrey Yasskin 7a9034c4db Automatically do the equivalent of freeMachineCodeForFunction(F) when F is
being destroyed. This allows users to run global optimizations like globaldce
even after some functions have been jitted.

This patch also removes the Function* parameter to
JITEventListener::NotifyFreeingMachineCode() since it can cause that to be
called when the Function is partially destroyed. This change will be even more
helpful later when I think we'll want to allow machine code to actually outlive
its Function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85182 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-27 00:03:05 +00:00
..
Interpreter Remove FreeInst. 2009-10-26 23:43:48 +00:00
JIT Automatically do the equivalent of freeMachineCodeForFunction(F) when F is 2009-10-27 00:03:05 +00:00
CMakeLists.txt
ExecutionEngine.cpp Fix http://llvm.org/PR4822: allow module deletion after a function has been 2009-10-23 22:37:43 +00:00
ExecutionEngineBindings.cpp Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create(). 2009-07-18 00:42:18 +00:00
Makefile