mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
We don't need to sort the added vector as unhandled intervals are
stored in a binary heap. llvm-svn: 16143
This commit is contained in:
parent
3bad485eec
commit
7a287da6cd
@ -515,7 +515,6 @@ void RA::assignRegOrStackSlotAtInterval(LiveInterval* cur)
|
||||
}
|
||||
}
|
||||
|
||||
std::sort(added.begin(), added.end(), less_ptr<LiveInterval>());
|
||||
// merge added with unhandled
|
||||
for (unsigned i = 0, e = added.size(); i != e; ++i)
|
||||
unhandled_.push(added[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user