commit | 991de14dd62dcbab4b31357ae22dc5b053ba50a0 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Mar 30 20:16:45 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Mar 30 20:16:45 2010 +0000 |
tree | bda68de401067e89361cd37e175d087fe0b3e6f1 | |
parent | 820580dfa9ed3e70d3eda06138a59fd903f61b7a [diff] |
Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allows only a single type of object to be allocated. Use it to make VNInfo destruction typesafe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99919 91177308-0d34-0410-b5e6-96231b3b80d8