diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-08-08 19:01:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-08-08 19:01:28 +0000 |
| commit | 40eb9dafede7b1411d3bfd90a456c01ffea19d4b (patch) | |
| tree | 1d115cdb234c5a6657dbe08dffda7c81b3373ad7 /llvm/lib/Transforms | |
| parent | 4b2ee2e8486251e2492b651f3325abe018f534ab (diff) | |
| download | bcm5719-llvm-40eb9dafede7b1411d3bfd90a456c01ffea19d4b.tar.gz bcm5719-llvm-40eb9dafede7b1411d3bfd90a456c01ffea19d4b.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: 3264
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<UnifyFunctionExitNodes>(); } }; |

