- Cleaned up the interface to AnalysisUsage to take analysis class names
[oota-llvm.git] / lib / Transforms / IPO / OldPoolAllocate.cpp
index 43fd162d8e61f6fa56728d4e561de64edc7005d0..67ba0f12f1ec6fbc0cf642b5622b2c7aeef048b6 100644 (file)
@@ -246,7 +246,7 @@ namespace {
     // to be able to see what is pool allocatable.
     //
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
-      AU.addRequired(DataStructure::ID);
+      AU.addRequired<DataStructure>();
     }
 
   public: