diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-30 20:16:45 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-30 20:16:45 +0000 |
commit | 128fdd98acae4b74400a03b6940e8209c05e7474 (patch) | |
tree | bda68de401067e89361cd37e175d087fe0b3e6f1 /lib/CodeGen/PreAllocSplitting.cpp | |
parent | d391ac49a03fac274165b2fc6b6d03d8c2ad989e (diff) | |
download | external_llvm-128fdd98acae4b74400a03b6940e8209c05e7474.zip external_llvm-128fdd98acae4b74400a03b6940e8209c05e7474.tar.gz external_llvm-128fdd98acae4b74400a03b6940e8209c05e7474.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen/PreAllocSplitting.cpp')
-rw-r--r-- | lib/CodeGen/PreAllocSplitting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp index 70e91aa..2d49beb 100644 --- a/lib/CodeGen/PreAllocSplitting.cpp +++ b/lib/CodeGen/PreAllocSplitting.cpp @@ -665,7 +665,7 @@ PreAllocSplitting::PerformPHIConstructionFallBack(MachineBasicBlock::iterator Us /// ReconstructLiveInterval - Recompute a live interval from scratch. void PreAllocSplitting::ReconstructLiveInterval(LiveInterval* LI) { - BumpPtrAllocator& Alloc = LIs->getVNInfoAllocator(); + VNInfo::Allocator& Alloc = LIs->getVNInfoAllocator(); // Clear the old ranges and valnos; LI->clear(); |