mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Fix printing of loop information
llvm-svn: 3977
This commit is contained in:
parent
2a7dd8373f
commit
45c83d6451
@ -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…
Reference in New Issue
Block a user