Ignore:
Timestamp:
Jun 4, 2010, 4:38:02 PM (15 years ago)
Author:
[email protected]
Message:
  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

Reviewed by NOBODY (interpreter build fix).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r60708 r60720  
    36593659            CallFrame* newCallFrame = CallFrame::create(callFrame->registers() + registerOffset);
    36603660            newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call), scopeChain, callFrame, argCount, asObject(v));
    3661 
    3662             Register* thisRegister = newCallFrame->registers() - RegisterFile::CallFrameHeaderSize - argCount;
    3663             ArgList args(thisRegister + 1, argCount - 1);
    36643661
    36653662            JSValue returnValue;
     
    38103807            newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call_varargs), scopeChain, callFrame, argCount, asObject(v));
    38113808           
    3812             Register* thisRegister = newCallFrame->registers() - RegisterFile::CallFrameHeaderSize - argCount;
    3813             ArgList args(thisRegister + 1, argCount - 1);
    3814            
    38153809            JSValue returnValue;
    38163810            {
     
    41294123            ScopeChainNode* scopeChain = callFrame->scopeChain();
    41304124            CallFrame* newCallFrame = CallFrame::create(callFrame->registers() + registerOffset);
    4131             newCallFrame->init(0, vPC + OPCODE_LENGTH(op_construct), scopeChain, callFrame, argCount, 0);
    4132 
    4133             Register* thisRegister = newCallFrame->registers() - RegisterFile::CallFrameHeaderSize - argCount;
    4134             ArgList args(thisRegister + 1, argCount - 1);
     4125            newCallFrame->init(0, vPC + OPCODE_LENGTH(op_construct), scopeChain, callFrame, argCount, asObject(v));
    41354126
    41364127            JSValue returnValue;
    41374128            {
    41384129                SamplingTool::HostCallRecord callRecord(m_sampler.get());
    4139                 returnValue = constructData.native.function(newCallFrame, asObject(v), args);
     4130                returnValue = JSValue::decode(constructData.native.function(newCallFrame));
    41404131            }
    41414132            CHECK_FOR_EXCEPTION();
    4142             functionReturnValue = JSValue(returnValue);
     4133            functionReturnValue = returnValue;
    41434134
    41444135            vPC += OPCODE_LENGTH(op_construct);
Note: See TracChangeset for help on using the changeset viewer.