summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/SimpleStructMutation.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/SimpleStructMutation.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/SimpleStructMutation.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/SimpleStructMutation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp b/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp
index 59871556aca..022d6d822c5 100644
--- a/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp
+++ b/llvm/lib/Transforms/IPO/SimpleStructMutation.cpp
@@ -29,8 +29,8 @@ namespace {
// FindUsedTypes and FindUnsafePointerTypes analysis passes...
//
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addRequired(FindUsedTypes::ID);
- AU.addRequired(FindUnsafePointerTypes::ID);
+ AU.addRequired<FindUsedTypes>();
+ AU.addRequired<FindUnsafePointerTypes>();
MutateStructTypes::getAnalysisUsage(AU);
}
OpenPOWER on IntegriCloud