summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-08 19:01:30 +0000
committerChris Lattner <sabre@nondot.org>2002-08-08 19:01:30 +0000
commitf0ed55d1eeb481ae715060dac4ee6acded06db17 (patch)
tree7478bd8dc9e5818920638823739da4f513d89449 /llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
parent40eb9dafede7b1411d3bfd90a456c01ffea19d4b (diff)
downloadbcm5719-llvm-f0ed55d1eeb481ae715060dac4ee6acded06db17.tar.gz
bcm5719-llvm-f0ed55d1eeb481ae715060dac4ee6acded06db17.zip
- Cleaned up the interface to AnalysisUsage to take analysis class names
instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3265
Diffstat (limited to 'llvm/lib/Transforms/IPO/OldPoolAllocate.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/OldPoolAllocate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp b/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
index 43fd162d8e6..67ba0f12f1e 100644
--- a/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
+++ b/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
@@ -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:
OpenPOWER on IntegriCloud