Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allows
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 30 Mar 2010 20:16:45 +0000 (20:16 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 30 Mar 2010 20:16:45 +0000 (20:16 +0000)
commit991de14dd62dcbab4b31357ae22dc5b053ba50a0
treebda68de401067e89361cd37e175d087fe0b3e6f1
parent820580dfa9ed3e70d3eda06138a59fd903f61b7a
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
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/LiveStackAnalysis.h
include/llvm/Support/Allocator.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LiveStackAnalysis.cpp
lib/CodeGen/PreAllocSplitting.cpp
lib/Support/Allocator.cpp