Changeset 145143 in webkit for trunk/Source/JavaScriptCore/dfg/DFGDriver.cpp
- Timestamp:
- Mar 7, 2013, 3:11:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGDriver.cpp
r144973 r145143 127 127 performStructureCheckHoisting(dfg); 128 128 129 unsigned cnt = 1;130 129 dfg.m_fixpointState = FixpointNotConverged; 131 for (;; ++cnt) { 132 if (logCompilationChanges()) 133 dataLogF("DFG beginning optimization fixpoint iteration #%u.\n", cnt); 134 bool changed = false; 135 136 if (validationEnabled()) 137 validate(dfg); 138 139 performCFA(dfg); 140 changed |= performConstantFolding(dfg); 141 changed |= performArgumentsSimplification(dfg); 142 changed |= performCFGSimplification(dfg); 143 changed |= performCSE(dfg); 144 145 if (!changed) 146 break; 147 148 performCPSRethreading(dfg); 149 } 150 151 if (logCompilationChanges()) 152 dataLogF("DFG optimization fixpoint converged in %u iterations.\n", cnt); 130 131 performCSE(dfg); 132 performArgumentsSimplification(dfg); 133 performCPSRethreading(dfg); // This should usually be a no-op since CSE rarely dethreads, and arguments simplification rarely does anything. 134 performCFA(dfg); 135 performConstantFolding(dfg); 136 performCFGSimplification(dfg); 153 137 154 138 dfg.m_fixpointState = FixpointConverged; 139 155 140 performStoreElimination(dfg); 156 performCPSRethreading(dfg); // This should usually be a no-op since store elimination rarely dethreads the graph.141 performCPSRethreading(dfg); 157 142 performDCE(dfg); 158 143 performVirtualRegisterAllocation(dfg);
Note:
See TracChangeset
for help on using the changeset viewer.