Changeset 170769 in webkit for trunk/Source/JavaScriptCore/dfg/DFGDCEPhase.cpp
- Timestamp:
- Jul 3, 2014, 2:04:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGDCEPhase.cpp
r169447 r170769 107 107 108 108 if (m_graph.m_form == SSA) { 109 // Need to process the graph in reverse DFS order, so that we get to the uses110 // of a node before we get to the node itself.111 109 Vector<BasicBlock*> depthFirst; 112 110 m_graph.getBlocksInDepthFirstOrder(depthFirst); 113 for (unsigned i = depthFirst.size(); i--;)111 for (unsigned i = 0; i < depthFirst.size(); ++i) 114 112 fixupBlock(depthFirst[i]); 115 113 } else {
Note:
See TracChangeset
for help on using the changeset viewer.