1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Revert previous change. The code was correct...

llvm-svn: 10957
This commit is contained in:
Alkis Evlogimenos 2004-01-22 19:17:52 +00:00
parent 448e6f3353
commit a1bb8618c3

View File

@ -371,7 +371,7 @@ void LiveIntervals::Interval::mergeRangesBackward(Ranges::iterator it)
bool LiveIntervals::Interval::liveAt(unsigned index) const
{
Ranges::const_iterator r = ranges.begin();
while (r != ranges.end() && index < r->second) {
while (r != ranges.end() && index < (r->second - 1)) {
if (index >= r->first)
return true;
++r;