Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allows
[oota-llvm.git] / lib / CodeGen / LiveStackAnalysis.cpp
index d2f3775288c545cc6b43b617ed4b7bb6abdc6d53..798b9b939cd356e25b830d0b1da446a844681462 100644 (file)
@@ -36,7 +36,7 @@ void LiveStacks::getAnalysisUsage(AnalysisUsage &AU) const {
 
 void LiveStacks::releaseMemory() {
   // Release VNInfo memroy regions after all VNInfo objects are dtor'd.
-  VNInfoAllocator.Reset();
+  VNInfoAllocator.DestroyAll();
   S2IMap.clear();
   S2RCMap.clear();
 }