forked from OSchip/llvm-project
Fix output of live intervals to show correctly its closed, open
ranges, i.e. [a,b) llvm-svn: 10822
This commit is contained in:
parent
9d0c3d21c8
commit
33f9cb1da7
|
@ -415,7 +415,7 @@ std::ostream& llvm::operator<<(std::ostream& os,
|
||||||
os << "%reg" << li.reg << ',' << li.weight << " = ";
|
os << "%reg" << li.reg << ',' << li.weight << " = ";
|
||||||
for (LiveIntervals::Interval::Ranges::const_iterator
|
for (LiveIntervals::Interval::Ranges::const_iterator
|
||||||
i = li.ranges.begin(), e = li.ranges.end(); i != e; ++i) {
|
i = li.ranges.begin(), e = li.ranges.end(); i != e; ++i) {
|
||||||
os << "[" << i->first << "," << i->second << "]";
|
os << "[" << i->first << "," << i->second << ")";
|
||||||
}
|
}
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue