mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +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";
|
||||
|
||||
std::copy(getSubLoops().begin(), getSubLoops().end(),
|
||||
std::ostream_iterator<const Loop*>(OS, "\n"));
|
||||
for (unsigned i = 0, e = getSubLoops().size(); i != e; ++i)
|
||||
getSubLoops()[i]->print(OS);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user