diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-08 19:01:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-08 19:01:30 +0000 |
commit | 5f0eb8da62308126d5b61e3eee5bee75b9dc5194 (patch) | |
tree | bba3aeeee3028f7253ead1fce9c6e2be5167097e /lib/Transforms/Scalar/ADCE.cpp | |
parent | dd5b49512976df3225b67f9685642253186cde3d (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@3265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/ADCE.cpp')
-rw-r--r-- | lib/Transforms/Scalar/ADCE.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 126a32b6f0..062b52ff50 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -55,8 +55,8 @@ public: // getAnalysisUsage - We require post dominance frontiers (aka Control // Dependence Graph) virtual void getAnalysisUsage(AnalysisUsage &AU) const { - AU.addRequired(PostDominatorTree::ID); - AU.addRequired(PostDominanceFrontier::ID); + AU.addRequired<PostDominatorTree>(); + AU.addRequired<PostDominanceFrontier>(); } |