From 5f0eb8da62308126d5b61e3eee5bee75b9dc5194 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 Aug 2002 19:01:30 +0000 Subject: - Cleaned up the interface to AnalysisUsage to take analysis class names instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3265 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/SimpleStructMutation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Transforms/IPO/SimpleStructMutation.cpp') diff --git a/lib/Transforms/IPO/SimpleStructMutation.cpp b/lib/Transforms/IPO/SimpleStructMutation.cpp index 59871556ac..022d6d822c 100644 --- a/lib/Transforms/IPO/SimpleStructMutation.cpp +++ b/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(); + AU.addRequired(); MutateStructTypes::getAnalysisUsage(AU); } -- cgit v1.2.3