Changes in directory llvm/lib/Analysis:
LoopInfo.cpp updated: 1.66 -> 1.67 --- Log message: Change ET-Forest to automatically recalculate its DFSnum's if too many slow queries are made. Patch by Daniel Berlin! --- Diffs of the changes: (+2 -2) LoopInfo.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Analysis/LoopInfo.cpp diff -u llvm/lib/Analysis/LoopInfo.cpp:1.66 llvm/lib/Analysis/LoopInfo.cpp:1.67 --- llvm/lib/Analysis/LoopInfo.cpp:1.66 Tue Jan 10 23:08:29 2006 +++ llvm/lib/Analysis/LoopInfo.cpp Sat Jan 14 14:55:08 2006 @@ -104,7 +104,7 @@ } -void LoopInfo::Calculate(const ETForest &EF) { +void LoopInfo::Calculate(ETForest &EF) { BasicBlock *RootNode = EF.getRoot(); for (df_iterator<BasicBlock*> NI = df_begin(RootNode), @@ -135,7 +135,7 @@ return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); } -Loop *LoopInfo::ConsiderForLoop(BasicBlock *BB, const ETForest &EF) { +Loop *LoopInfo::ConsiderForLoop(BasicBlock *BB, ETForest &EF) { if (BBMap.find(BB) != BBMap.end()) return 0; // Haven't processed this node? std::vector<BasicBlock *> TodoStack; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits