The SCC::HasLoop method is now in the main iterator

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-08-31 19:51:38 +00:00
parent 94d1092c6a
commit 9f2a06e76d
6 changed files with 30 additions and 30 deletions

View File

@ -441,7 +441,7 @@ bool MemoryDepAnalysis::runOnFunction(Function &F) {
SCC<Function*>* nextSCC;
for (TarjanSCC_iterator<Function*> I = tarj_begin(&F), E = tarj_end(&F);
I != E; ++I)
ProcessSCC(*I, ModRefAfter, (*I).HasLoop());
ProcessSCC(*I, ModRefAfter, I.hasLoop());
return true;
}