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:
Alkis Evlogimenos 2004-09-02 18:00:38 +00:00
parent 3bad485eec
commit 7a287da6cd

View File

@ -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]);