llvm-6502/unittests/ExecutionEngine
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
..
JIT Move the Function*->allocated blocks map from the JITMemoryManager to the 2009-10-20 18:13:21 +00:00
ExecutionEngineTest.cpp Make the ExecutionEngine automatically remove global mappings on when their 2009-10-13 17:42:08 +00:00
Makefile Make ExecutionEngine::updateGlobalMapping(GV, NULL) properly remove GV's old 2009-08-04 23:53:16 +00:00