Ignore:
Timestamp:
Oct 2, 2009, 11:06:49 AM (16 years ago)
Author:
[email protected]
Message:

Rolled back in r49004 with the debug 64bit build fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JITCall.cpp

    r49005 r49030  
    237237    int registerOffset = instruction[4].u.operand;
    238238
    239     Jump wasEval1;
    240     Jump wasEval2;
     239    Jump wasEval;
    241240    if (opcodeID == op_call_eval) {
    242241        JITStubCall stubCall(this, cti_op_call_eval);
     
    245244        stubCall.addArgument(JIT::Imm32(argCount));
    246245        stubCall.call();
    247         wasEval1 = branchTest32(NonZero, regT0);
    248         wasEval2 = branch32(NotEqual, regT1, Imm32(JSValue::CellTag));
     246        wasEval = branch32(Equal, regT1, Imm32(JSValue::EmptyValueTag));
    249247    }
    250248
     
    272270    emitNakedCall(m_globalData->jitStubs.ctiVirtualCall());
    273271
    274     if (opcodeID == op_call_eval) {
    275         wasEval1.link(this);
    276         wasEval2.link(this);
    277     }
     272    if (opcodeID == op_call_eval)
     273        wasEval.link(this);
    278274
    279275    emitStore(dst, regT1, regT0);;
     
    307303    int registerOffset = instruction[4].u.operand;
    308304
    309     Jump wasEval1;
    310     Jump wasEval2;
     305    Jump wasEval;
    311306    if (opcodeID == op_call_eval) {
    312307        JITStubCall stubCall(this, cti_op_call_eval);
     
    315310        stubCall.addArgument(JIT::Imm32(argCount));
    316311        stubCall.call();
    317         wasEval1 = branchTest32(NonZero, regT0);
    318         wasEval2 = branch32(NotEqual, regT1, Imm32(JSValue::CellTag));
     312        wasEval = branch32(NotEqual, regT1, Imm32(JSValue::EmptyValueTag));
    319313    }
    320314
     
    360354    m_callStructureStubCompilationInfo[callLinkInfoIndex].hotPathOther = emitNakedCall();
    361355   
    362     if (opcodeID == op_call_eval) {
    363         wasEval1.link(this);
    364         wasEval2.link(this);
    365     }
     356    if (opcodeID == op_call_eval)
     357        wasEval.link(this);
    366358
    367359    // Put the return value in dst. In the interpreter, op_ret does this.
Note: See TracChangeset for help on using the changeset viewer.