summaryrefslogtreecommitdiff
path: root/lib/Analysis/LoopInfo.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/Analysis/LoopInfo.cpp
parent5791bb70b12dfce83e2fcd3857af5a5c7fe9782e (diff)
downloadllvm-dd5b49512976df3225b67f9685642253186cde3d.tar.gz
llvm-dd5b49512976df3225b67f9685642253186cde3d.tar.bz2
llvm-dd5b49512976df3225b67f9685642253186cde3d.tar.xz
- 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/Analysis/LoopInfo.cpp')
-rw-r--r--lib/Analysis/LoopInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp
index 619e434e57..8988877dc4 100644
--- a/lib/Analysis/LoopInfo.cpp
+++ b/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 {