Bug fix in BumpPtrAllocator: don't assume that all objects have the same alignment...
authorTed Kremenek <kremenek@apple.com>
Mon, 28 Apr 2008 17:58:07 +0000 (17:58 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 28 Apr 2008 17:58:07 +0000 (17:58 +0000)
commitc9715624fa096bf412bf5d63214d9ea8fae485af
tree477bbbeae9095232d716b1bcd40357fe05bc77e3
parentb20d4f8d499c4c5315de69bd22c652665a7e3ab8
Bug fix in BumpPtrAllocator: don't assume that all objects have the same alignment.  "Bump" of the pointer for the next allocated object to be of the specified alignment.

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