Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allows
[oota-llvm.git] / include / llvm / CodeGen / LiveIntervalAnalysis.h
index 1a2cc25ba490f1a1dda0ed7340e0cd72cef5bd2f..8ddcac705990ca0754a3d655f1b6c33071ebcf06 100644 (file)
@@ -55,7 +55,7 @@ namespace llvm {
 
     /// Special pool allocator for VNInfo's (LiveInterval val#).
     ///
-    BumpPtrAllocator VNInfoAllocator;
+    VNInfo::Allocator VNInfoAllocator;
 
     typedef DenseMap<unsigned, LiveInterval*> Reg2IntervalMap;
     Reg2IntervalMap r2iMap_;
@@ -221,7 +221,7 @@ namespace llvm {
       indexes_->renumberIndexes();
     }
 
-    BumpPtrAllocator& getVNInfoAllocator() { return VNInfoAllocator; }
+    VNInfo::Allocator& getVNInfoAllocator() { return VNInfoAllocator; }
 
     /// getVNInfoSourceReg - Helper function that parses the specified VNInfo
     /// copy field and returns the source register that defines it.