mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Fix printing of loop information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d7a75a9e3
commit
b1f8aebc67
@ -33,8 +33,8 @@ void Loop::print(std::ostream &OS) const {
|
|||||||
}
|
}
|
||||||
OS << "\n";
|
OS << "\n";
|
||||||
|
|
||||||
std::copy(getSubLoops().begin(), getSubLoops().end(),
|
for (unsigned i = 0, e = getSubLoops().size(); i != e; ++i)
|
||||||
std::ostream_iterator<const Loop*>(OS, "\n"));
|
getSubLoops()[i]->print(OS);
|
||||||
}
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
Loading…
Reference in New Issue
Block a user