Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for
authorReid Kleckner <reid@kleckner.net>
Thu, 23 Jul 2009 18:34:13 +0000 (18:34 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 23 Jul 2009 18:34:13 +0000 (18:34 +0000)
commit8f51a62b41a425f7fe262ff20cee835129ecc072
treee5ef9fec8d79b405ae7e438f74dcc1f6fbbbf85c
parentd3d9d66dd211d1267e764c7294876d9a227f04ca
Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for
an off-by-one error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76891 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Allocator.h
lib/Support/Allocator.cpp
unittests/Support/AllocatorTest.cpp