Ignore:
Timestamp:
Nov 12, 2008, 1:34:22 AM (17 years ago)
Author:
[email protected]
Message:

2008-11-12 Cameron Zwarich <[email protected]>

Rubber-stamped by Mark Rowe.

Roll out r38322 due to test failures on the bots.

JavaScriptCore:

  • VM/CTI.cpp: (JSC::CTI::compileOpCallSetupArgs): (JSC::CTI::compileOpCall): (JSC::CTI::privateCompileMainPass): (JSC::CTI::privateCompileSlowCases):
  • VM/CTI.h:
  • VM/CodeBlock.cpp: (JSC::CodeBlock::dump):
  • VM/Machine.cpp: (JSC::Machine::callEval): (JSC::Machine::dumpCallFrame): (JSC::Machine::dumpRegisters): (JSC::Machine::execute): (JSC::Machine::privateExecute): (JSC::Machine::throwStackOverflowPreviousFrame): (JSC::Machine::cti_register_file_check): (JSC::Machine::cti_op_call_arityCheck): (JSC::Machine::cti_op_call_NotJSFunction): (JSC::Machine::cti_op_construct_JSConstruct): (JSC::Machine::cti_op_construct_NotJSConstruct): (JSC::Machine::cti_op_call_eval): (JSC::Machine::cti_vm_throw):
  • VM/Machine.h:
  • bytecompiler/CodeGenerator.cpp: (JSC::CodeGenerator::emitCall): (JSC::CodeGenerator::emitCallEval): (JSC::CodeGenerator::emitConstruct):
  • bytecompiler/CodeGenerator.h:
  • parser/Nodes.cpp: (JSC::EvalFunctionCallNode::emitCode): (JSC::FunctionCallValueNode::emitCode): (JSC::FunctionCallResolveNode::emitCode): (JSC::FunctionCallBracketNode::emitCode): (JSC::FunctionCallDotNode::emitCode):
  • parser/Nodes.h: (JSC::ScopeNode::neededConstants):

LayoutTests:

  • fast/js/global-recursion-on-full-stack-expected.txt:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CodeBlock.cpp

    r38322 r38330  
    813813        }
    814814        case op_call: {
    815             int dst = (++it)->u.operand;
    816             int func = (++it)->u.operand;
     815            int r0 = (++it)->u.operand;
     816            int r1 = (++it)->u.operand;
     817            int r2 = (++it)->u.operand;
     818            int tempCount = (++it)->u.operand;
    817819            int argCount = (++it)->u.operand;
    818820            int registerOffset = (++it)->u.operand;
    819             printf("[%4d] call\t\t %s, %s, %d, %d\n", location, registerName(dst).c_str(), registerName(func).c_str(), argCount, registerOffset);
     821            printf("[%4d] call\t\t %s, %s, %s, %d, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), registerName(r2).c_str(), tempCount, argCount, registerOffset);
    820822            break;
    821823        }
    822824        case op_call_eval: {
    823             int dst = (++it)->u.operand;
    824             int func = (++it)->u.operand;
     825            int r0 = (++it)->u.operand;
     826            int r1 = (++it)->u.operand;
     827            int r2 = (++it)->u.operand;
     828            int tempCount = (++it)->u.operand;
    825829            int argCount = (++it)->u.operand;
    826830            int registerOffset = (++it)->u.operand;
    827             printf("[%4d] call_eval\t %s, %s, %d, %d\n", location, registerName(dst).c_str(), registerName(func).c_str(), argCount, registerOffset);
     831            printf("[%4d] call_eval\t\t %s, %s, %s, %d, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), registerName(r2).c_str(), tempCount, argCount, registerOffset);
    828832            break;
    829833        }
     
    843847        }
    844848        case op_construct: {
    845             int dst = (++it)->u.operand;
    846             int func = (++it)->u.operand;
     849            int r0 = (++it)->u.operand;
     850            int r1 = (++it)->u.operand;
     851            int r2 = (++it)->u.operand;
     852            int tempCount = (++it)->u.operand;
    847853            int argCount = (++it)->u.operand;
    848854            int registerOffset = (++it)->u.operand;
    849             int proto = (++it)->u.operand;
    850             int thisRegister = (++it)->u.operand;
    851             printf("[%4d] construct\t %s, %s, %d, %d, %s, %s\n", location, registerName(dst).c_str(), registerName(func).c_str(), argCount, registerOffset, registerName(proto).c_str(), registerName(thisRegister).c_str());
     855            printf("[%4d] construct\t %s, %s, %s, %d, %d, %d\n", location, registerName(r0).c_str(), registerName(r1).c_str(), registerName(r2).c_str(), tempCount, argCount, registerOffset);
    852856            break;
    853857        }
Note: See TracChangeset for help on using the changeset viewer.