llvm-6502/unittests/ExecutionEngine/JIT
Jeffrey Yasskin 1e86132122 Move the Function*->allocated blocks map from the JITMemoryManager to the
JITEmitter.

I'm gradually making Functions auto-remove themselves from the JIT when they're
destroyed. In this case, the Function needs to be removed from the JITEmitter,
but the map recording which Functions need to be removed lived behind the
JITMemoryManager interface, which made things difficult.

This patch replaces the deallocateMemForFunction(Function*) method with a pair
of methods deallocateFunctionBody(void *) and deallocateExceptionTable(void *)
corresponding to the two startFoo/endFoo pairs.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84651 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-20 18:13:21 +00:00
..
JITEventListenerTest.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
JITMemoryManagerTest.cpp Move the Function*->allocated blocks map from the JITMemoryManager to the 2009-10-20 18:13:21 +00:00
JITTest.cpp PowerPC ifdef'ing considered more complicated than one might like. 2009-10-20 05:33:23 +00:00
Makefile Add a JITEventListener interface that gets called back when a new function is 2009-06-25 02:04:04 +00:00