mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-06 10:38:54 +00:00
Sort live intervals by increasing start point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
69546d5f84
commit
91ceae6d20
@ -297,6 +297,7 @@ void LiveIntervals::computeIntervals()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::sort(intervals_.begin(), intervals_.end(), StartPointComp());
|
||||||
DEBUG(std::copy(intervals_.begin(), intervals_.end(),
|
DEBUG(std::copy(intervals_.begin(), intervals_.end(),
|
||||||
std::ostream_iterator<Interval>(std::cerr, "\n")));
|
std::ostream_iterator<Interval>(std::cerr, "\n")));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user