diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 8736a236755..0204494fd65 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -515,7 +515,6 @@ void RA::assignRegOrStackSlotAtInterval(LiveInterval* cur) } } - std::sort(added.begin(), added.end(), less_ptr()); // merge added with unhandled for (unsigned i = 0, e = added.size(); i != e; ++i) unhandled_.push(added[i]);