llvm-6502/include
Hans Wennborg 61760cece0 BumpPtrAllocator: remove 'no slabs allocated yet' check
We already handle the no-slabs case when checking whether the current slab
is large enough: if no slabs have been allocated, CurPtr and End are both 0.
alignPtr(0), will still be 0, and so "if (Ptr + Size <= End)" fails.

Differential Revision: http://reviews.llvm.org/D4943

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215841 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-17 18:31:18 +00:00
..
llvm BumpPtrAllocator: remove 'no slabs allocated yet' check 2014-08-17 18:31:18 +00:00
llvm-c Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00