mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 04:08:07 +00:00
Make interval partition print correctly, patch contributed by
Vladimir Prus! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
93b94a6ccf
commit
318c149823
@ -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