From 40eb9dafede7b1411d3bfd90a456c01ffea19d4b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 Aug 2002 19:01:28 +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 llvm-svn: 3264 --- llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms') diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index 98430f9c7a1..6a4e9e246f9 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp +++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp @@ -43,7 +43,7 @@ struct ProfilePaths : public FunctionPass { // entry and only one exit node for the function in the CFG of the function // void ProfilePaths::getAnalysisUsage(AnalysisUsage &AU) const { - AU.addRequired(UnifyFunctionExitNodes::ID); + AU.addRequired(); } }; -- cgit v1.2.3