aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-08 19:01:28 +0000
committerChris Lattner <sabre@nondot.org>2002-08-08 19:01:28 +0000
commitdd5b49512976df3225b67f9685642253186cde3d (patch)
tree213595ddd8da9a7f3afd1870a37340236c897849 /lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
parent5791bb70b12dfce83e2fcd3857af5a5c7fe9782e (diff)
- 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@3264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index 98430f9c7a..6a4e9e246f 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/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<UnifyFunctionExitNodes>();
}
};