mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
Make interval partition print correctly, patch contributed by
Vladimir Prus! llvm-svn: 21566
This commit is contained in:
parent
f6199ef63a
commit
5dc0b9e938
@ -31,8 +31,8 @@ void IntervalPartition::destroy() {
|
||||
}
|
||||
|
||||
void IntervalPartition::print(std::ostream &O, const Module*) const {
|
||||
std::copy(Intervals.begin(), Intervals.end(),
|
||||
std::ostream_iterator<const Interval *>(O, "\n"));
|
||||
for(unsigned i = 0, e = Intervals.size(); i != e; ++i)
|
||||
Intervals[i]->print(O);
|
||||
}
|
||||
|
||||
// addIntervalToPartition - Add an interval to the internal list of intervals,
|
||||
|
Loading…
Reference in New Issue
Block a user