Changeset 204209 in webkit
- Timestamp:
- Aug 5, 2016 6:05:15 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r204207 r204209 1 2016-08-05 Keith Miller <keith_miller@apple.com> 2 3 32-bit JSC test failure: stress/instanceof-late-constant-folding.js 4 https://bugs.webkit.org/show_bug.cgi?id=160620 5 6 Reviewed by Filip Pizlo. 7 8 * dfg/DFGSpeculativeJIT32_64.cpp: 9 (JSC::DFG::SpeculativeJIT::compile): 10 1 11 2016-08-05 Benjamin Poulain <bpoulain@apple.com> 2 12 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp
r204176 r204209 4628 4628 JSFunction* defaultHasInstanceFunction = jsCast<JSFunction*>(node->cellOperand()->value()); 4629 4629 4630 MacroAssembler::Jump notDefaulthasInstanceValue; 4631 MacroAssembler::Jump hasInstanceValueNotCell; 4630 MacroAssembler::JumpList notDefaultHasInstanceValue; 4632 4631 SpeculateCellOperand base(this, node->child1()); 4633 4632 JSValueOperand hasInstanceValue(this, node->child2()); … … 4642 4641 if (!hasInstanceValueNode->isCellConstant() || defaultHasInstanceFunction != hasInstanceValueNode->asCell()) { 4643 4642 JSValueRegs hasInstanceValueRegs = hasInstanceValue.jsValueRegs(); 4644 hasInstanceValueNotCell = m_jit.branchIfNotCell(hasInstanceValueRegs);4645 notDefault hasInstanceValue = m_jit.branchPtr(MacroAssembler::NotEqual, hasInstanceValueRegs.payloadGPR(), TrustedImmPtr(defaultHasInstanceFunction));4643 notDefaultHasInstanceValue.append(m_jit.branchIfNotCell(hasInstanceValueRegs)); 4644 notDefaultHasInstanceValue.append(m_jit.branchPtr(MacroAssembler::NotEqual, hasInstanceValueRegs.payloadGPR(), TrustedImmPtr(defaultHasInstanceFunction))); 4646 4645 } 4647 4646 … … 4650 4649 MacroAssembler::Jump done = m_jit.jump(); 4651 4650 4652 if (!hasInstanceValueNode->isCellConstant()) { 4653 hasInstanceValueNotCell.link(&m_jit); 4654 notDefaulthasInstanceValue.link(&m_jit); 4651 if (!notDefaultHasInstanceValue.empty()) { 4652 notDefaultHasInstanceValue.link(&m_jit); 4655 4653 moveTrueTo(resultGPR); 4656 4654 }
Note: See TracChangeset
for help on using the changeset viewer.