diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-07 20:53:59 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-07 20:53:59 +0000 |
commit | 9a383405a7faa52da11fe9c59bd2ff7aecbf5bfd (patch) | |
tree | 02bb45c3a5b7aaf371b196038f97d2ed4ce0c807 /llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp | |
parent | eaf9798d2a45b6eabc65ded63fddc2f28b858222 (diff) | |
download | bcm5719-llvm-9a383405a7faa52da11fe9c59bd2ff7aecbf5bfd.tar.gz bcm5719-llvm-9a383405a7faa52da11fe9c59bd2ff7aecbf5bfd.zip |
Remove exception handling support from the old JIT.
llvm-svn: 181354
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp index 66aeb772ddc..bf5680d832d 100644 --- a/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp @@ -513,26 +513,6 @@ namespace { return false; } - /// startExceptionTable - Use startFunctionBody to allocate memory for the - /// function's exception table. - uint8_t* startExceptionTable(const Function* F, uintptr_t &ActualSize) { - return startFunctionBody(F, ActualSize); - } - - /// endExceptionTable - The exception table of F is now allocated, - /// and takes the memory in the range [TableStart,TableEnd). - void endExceptionTable(const Function *F, uint8_t *TableStart, - uint8_t *TableEnd, uint8_t* FrameRegister) { - assert(TableEnd > TableStart); - assert(TableStart == (uint8_t *)(CurBlock+1) && - "Mismatched table start/end!"); - - uintptr_t BlockSize = TableEnd - (uint8_t *)CurBlock; - - // Release the memory at the end of this block that isn't needed. - FreeMemoryList =CurBlock->TrimAllocationToSize(FreeMemoryList, BlockSize); - } - uint8_t *getGOTBase() const { return GOTBase; } @@ -557,12 +537,6 @@ namespace { if (Body) deallocateBlock(Body); } - /// deallocateExceptionTable - Deallocate memory for the specified - /// exception table. - void deallocateExceptionTable(void *ET) { - if (ET) deallocateBlock(ET); - } - /// setMemoryWritable - When code generation is in progress, /// the code pages may need permissions changed. void setMemoryWritable() |