[PassManager] Ensure destructors of cached AnalysisUsage objects are run
[oota-llvm.git] / include / llvm / IR / LegacyPassManagers.h
index 418702c0b781ae1a481e783c1424f42e7138697c..b8e33478d6a9d3666db8076ffcbb270c75bbd31d 100644 (file)
@@ -283,7 +283,7 @@ private:
   
   // Allocator used for allocating UAFoldingSetNodes.  This handles deletion of
   // all allocated nodes in one fell swoop.
-  BumpPtrAllocator AUFoldingSetNodeAllocator;
+  SpecificBumpPtrAllocator<AUFoldingSetNode> AUFoldingSetNodeAllocator;
   
   // Maps from a pass to it's associated entry in UniqueAnalysisUsages.  Does
   // not own the storage associated with either key or value..