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:
parent
448e6f3353
commit
a1bb8618c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user