Changeset 96794 in webkit
- Timestamp:
- Oct 6, 2011 2:08:25 AM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r96783 r96794 1 2011-10-05 Filip Pizlo <fpizlo@apple.com> 2 3 SpeculativeJIT::isKnownString() is wrong 4 https://bugs.webkit.org/show_bug.cgi?id=69501 5 6 Reviewed by Oliver Hunt. 7 8 Removed the wrong case (GetLocal predicted String) and added a case that 9 works (StrCat). 10 11 * dfg/DFGSpeculativeJIT.h: 12 (JSC::DFG::SpeculativeJIT::isKnownString): 13 1 14 2011-10-05 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h
r96750 r96794 593 593 bool isKnownString(NodeIndex op1) 594 594 { 595 Node& node = m_jit.graph()[op1]; 596 switch (node.op) { 597 case GetLocal: 598 return isStringPrediction(node.variableAccessData()->prediction()); 599 595 switch (m_jit.graph()[op1].op) { 596 case StrCat: 597 return true; 598 600 599 default: 601 600 return false;
Note: See TracChangeset
for help on using the changeset viewer.