Changeset 191960 in webkit for trunk/Source/JavaScriptCore/dfg/DFGBlockInsertionSet.cpp
- Timestamp:
- Nov 3, 2015, 10:48:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGBlockInsertionSet.cpp
r191913 r191960 72 72 return false; 73 73 74 // We allow insertions to be given to us in any order. So, we need to 75 // sort them before running WTF::executeInsertions. 76 std::stable_sort(m_insertions.begin(), m_insertions.end()); 74 // We allow insertions to be given to us in any order. So, we need to sort them before 75 // running WTF::executeInsertions. Also, we don't really care if the sort is stable since 76 // basic block order doesn't have semantics - it's just to make code easier to read. 77 std::sort(m_insertions.begin(), m_insertions.end()); 77 78 78 79 executeInsertions(m_graph.m_blocks, m_insertions);
Note:
See TracChangeset
for help on using the changeset viewer.