Skip to content
Commit 5bd6105d authored by Reid Kleckner's avatar Reid Kleckner
Browse files

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
parent 671cc00c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment