Fix SpecificBumpPtrAllocator iteration.
authorTorok Edwin <edwintorok@gmail.com>
Fri, 2 Apr 2010 13:20:51 +0000 (13:20 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Fri, 2 Apr 2010 13:20:51 +0000 (13:20 +0000)
commit86bfd34ece523d863282ef2a2e4cf451c387c559
tree94ecd39dec8cff33990783694fdb59720d3fe99f
parent749fd83c04b735de1224d96d481d1d926769d536
Fix SpecificBumpPtrAllocator iteration.

Need to start from (char*)(Slab+1), and not from (char*)Slab+1.
This fixes crashes in Win64 debug mode.
Thanks to Nicolas Capens!

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