1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/unittests/ExecutionEngine
Jeffrey Yasskin c5bf1f8ad9 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.

llvm-svn: 84651
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