diff options
| author | Reid Kleckner <reid@kleckner.net> | 2009-07-23 00:30:41 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2009-07-23 00:30:41 +0000 |
| commit | 5bd6105d65711bb38c05910fd9b71d18aecedd56 (patch) | |
| tree | 49c719b0f68466291bcc4b4ecde431e9960033dc /llvm/lib/Support/TargetRegistry.cpp | |
| parent | 671cc00ce113529f3e4ee029479cd15fc321c2c8 (diff) | |
| download | bcm5719-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/Support/TargetRegistry.cpp')
0 files changed, 0 insertions, 0 deletions

