Changeset 92732 in webkit


Ignore:
Timestamp:
Aug 9, 2011 5:30:50 PM (13 years ago)
Author:
fpizlo@apple.com
Message:

DFG JIT passes the this argument to constructors even though
it's not necessary
https://bugs.webkit.org/show_bug.cgi?id=65943

Reviewed by Gavin Barraclough.

  • dfg/DFGJITCodeGenerator.cpp:

(JSC::DFG::JITCodeGenerator::emitCall):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r92731 r92732  
     12011-08-09  Filip Pizlo  <fpizlo@apple.com>
     2
     3        DFG JIT passes the this argument to constructors even though
     4        it's not necessary
     5        https://bugs.webkit.org/show_bug.cgi?id=65943
     6
     7        Reviewed by Gavin Barraclough.
     8
     9        * dfg/DFGJITCodeGenerator.cpp:
     10        (JSC::DFG::JITCodeGenerator::emitCall):
     11
    1122011-08-09  Chao-ying Fu  <fu@mips.com>
    213
  • trunk/Source/JavaScriptCore/dfg/DFGJITCodeGenerator.cpp

    r91280 r92732  
    10001000    m_jit.storePtr(GPRInfo::callFrameRegister, addressOfCallData(RegisterFile::CallerFrame));
    10011001   
    1002     for (int argIdx = 0; argIdx < numArgs; argIdx++) {
     1002    for (int argIdx = (node.op == Call ? 0 : 1); argIdx < numArgs; argIdx++) {
    10031003        NodeIndex argNodeIndex = m_jit.graph().m_varArgChildren[node.firstChild() + 1 + argIdx];
    10041004        JSValueOperand arg(this, argNodeIndex);
Note: See TracChangeset for help on using the changeset viewer.