Changeset 145491 in webkit
- Timestamp:
- Mar 12, 2013 12:02:51 AM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r145489 r145491 1 2013-03-12 Filip Pizlo <fpizlo@apple.com> 2 3 DFG prediction propagation phase should not rerun forward propagation if double voting has already converged 4 https://bugs.webkit.org/show_bug.cgi?id=111920 5 6 Reviewed by Oliver Hunt. 7 8 I don't know why we weren't exiting early after double voting if !m_changed. 9 10 This change also removes backwards propagation from the voting fixpoint, since at that 11 point short-circuiting loops is probably not particularly profitable. Profiling shows 12 that this reduces the time spent in prediction propagation even further. 13 14 This change appears to be a 1% SunSpider speed-up. 15 16 * dfg/DFGPredictionPropagationPhase.cpp: 17 (JSC::DFG::PredictionPropagationPhase::run): 18 1 19 2013-03-11 Filip Pizlo <fpizlo@apple.com> 2 20 -
trunk/Source/JavaScriptCore/dfg/DFGPredictionPropagationPhase.cpp
r145489 r145491 74 74 m_changed = false; 75 75 doRoundOfDoubleVoting(); 76 propagateForward();77 76 if (!m_changed) 78 77 break; 79 80 78 m_changed = false; 81 doRoundOfDoubleVoting(); 82 propagateBackward(); 79 propagateForward(); 83 80 } while (m_changed); 84 81
Note: See TracChangeset
for help on using the changeset viewer.