mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 00:25:01 +00:00
Fix printing of loop information
llvm-svn: 3941
This commit is contained in:
parent
51dd965704
commit
8b97a81265
@ -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