Ignore:
Timestamp:
Dec 16, 2011, 8:50:01 PM (13 years ago)
Author:
[email protected]
Message:

Roll out r103139 because it breaks the build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r103139 r103142  
    15541554        speculationCheck(BadType, JSValueSource::unboxedCell(base), baseIndex, m_jit.branchPtr(MacroAssembler::NotEqual, MacroAssembler::Address(base, JSCell::classInfoOffset()), MacroAssembler::TrustedImmPtr(&JSByteArray::s_info)));
    15551555    GPRTemporary value;
     1556    GPRReg valueGPR;
    15561557
    15571558    if (at(valueIndex).isConstant()) {
     
    15721573        m_jit.move(Imm32((int)d), scratchReg);
    15731574        value.adopt(scratch);
     1575        valueGPR = scratchReg;
    15741576    } else if (!at(valueIndex).shouldNotSpeculateInteger()) {
    15751577        SpeculateIntegerOperand valueOp(this, valueIndex);
     
    15861588        inBounds.link(&m_jit);
    15871589        value.adopt(scratch);
     1590        valueGPR = scratchReg;
    15881591    } else {
    15891592        SpeculateDoubleOperand valueOp(this, valueIndex);
     
    15941597        compileClampDoubleToByte(m_jit, gpr, fpr, floatScratch.fpr());
    15951598        value.adopt(result);
     1599        valueGPR = gpr;
    15961600    }
    15971601    ASSERT_UNUSED(valueGPR, valueGPR != property);
     
    17071711        speculationCheck(BadType, JSValueSource::unboxedCell(base), baseIndex, m_jit.branchPtr(MacroAssembler::NotEqual, MacroAssembler::Address(base, JSCell::classInfoOffset()), MacroAssembler::TrustedImmPtr(descriptor.m_classInfo)));
    17081712    GPRTemporary value;
     1713    GPRReg valueGPR;
    17091714   
    17101715    if (at(valueIndex).isConstant()) {
     
    17201725        m_jit.move(Imm32((int)d), scratchReg);
    17211726        value.adopt(scratch);
     1727        valueGPR = scratchReg;
    17221728    } else if (!at(valueIndex).shouldNotSpeculateInteger()) {
    17231729        SpeculateIntegerOperand valueOp(this, valueIndex);
     
    17261732        m_jit.move(valueOp.gpr(), scratchReg);
    17271733        value.adopt(scratch);
     1734        valueGPR = scratchReg;
    17281735    } else {
    17291736        SpeculateDoubleOperand valueOp(this, valueIndex);
     
    17421749        fixed.link(&m_jit);
    17431750        value.adopt(result);
     1751        valueGPR = gpr;
    17441752    }
    17451753    ASSERT_UNUSED(valueGPR, valueGPR != property);
Note: See TracChangeset for help on using the changeset viewer.