mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 13:44:28 +00:00
Fix printing of loop information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
de39b71455
commit
fce46ef803
@ -76,8 +76,8 @@ void LoopInfo::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
}
|
||||
|
||||
void LoopInfo::print(std::ostream &OS) const {
|
||||
std::copy(getTopLevelLoops().begin(), getTopLevelLoops().end(),
|
||||
std::ostream_iterator<const Loop*>(OS, "\n"));
|
||||
for (unsigned i = 0; i < TopLevelLoops.size(); ++i)
|
||||
TopLevelLoops[i]->print(OS);
|
||||
}
|
||||
|
||||
Loop *LoopInfo::ConsiderForLoop(BasicBlock *BB, const DominatorSet &DS) {
|
||||
|
Loading…
Reference in New Issue
Block a user