summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2009-07-23 00:30:41 +0000
committerReid Kleckner <reid@kleckner.net>2009-07-23 00:30:41 +0000
commit5bd6105d65711bb38c05910fd9b71d18aecedd56 (patch)
tree49c719b0f68466291bcc4b4ecde431e9960033dc /llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp
parent671cc00ce113529f3e4ee029479cd15fc321c2c8 (diff)
downloadbcm5719-llvm-5bd6105d65711bb38c05910fd9b71d18aecedd56.tar.gz
bcm5719-llvm-5bd6105d65711bb38c05910fd9b71d18aecedd56.zip
Parameterize the BumpPtrAllocator over a slab allocator. It defaults to using
malloc, so there should be no functional changes to other code. These changes are necessary since I have plans to use this allocator in the JIT memory manager, and it needs a special allocator. I also added some tests which helped me pinpoint some bugs. llvm-svn: 76825
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud