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/Analysis/LoopInfo.cpp | |
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/Analysis/LoopInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp index 619e434e574..8988877dc4b 100644 --- a/llvm/lib/Analysis/LoopInfo.cpp +++ b/llvm/lib/Analysis/LoopInfo.cpp @@ -72,7 +72,7 @@ void LoopInfo::Calculate(const DominatorSet &DS) { void LoopInfo::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); - AU.addRequired(DominatorSet::ID); + AU.addRequired<DominatorSet>(); } void LoopInfo::print(std::ostream &OS) const { |