Changeset 68237 in webkit for trunk/JavaScriptCore/bytecode


Ignore:
Timestamp:
Sep 23, 2010, 11:24:21 PM (15 years ago)
Author:
Csaba Osztrogonác
Message:

2010-09-23 Sheriff Bot <[email protected]>

Unreviewed, rolling out r68223.
http://trac.webkit.org/changeset/68223
https://bugs.webkit.org/show_bug.cgi?id=46448

It broke 2-3 tests on bots (Requested by Ossy on #webkit).

  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump):
  • bytecode/Opcode.h:
  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator): (JSC::BytecodeGenerator::registerFor): (JSC::BytecodeGenerator::constRegisterFor): (JSC::BytecodeGenerator::emitNewFunction):
  • bytecompiler/BytecodeGenerator.h:
  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass):
  • jit/JIT.h:
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_new_func): (JSC::JIT::emit_op_init_arguments):
  • jit/JITOpcodes32_64.cpp: (JSC::JIT::emit_op_new_func): (JSC::JIT::emit_op_init_arguments):
  • parser/Nodes.h:
Location:
trunk/JavaScriptCore/bytecode
Files:
2 edited

Legend:

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

    r68223 r68237  
    496496            break;
    497497        }
    498         case op_init_lazy_reg: {
    499             int r0 = (++it)->u.operand;
    500             printf("[%4d] init_lazy_reg\t %s\n", location, registerName(exec, r0).data());
     498        case op_init_arguments: {
     499            int r0 = (++it)->u.operand;
     500            printf("[%4d] init_arguments\t %s\n", location, registerName(exec, r0).data());
    501501            break;
    502502        }
     
    714714            int r0 = (++it)->u.operand;
    715715            int id0 = (++it)->u.operand;
    716             printf("[%4d] resolve_global\t %s, %s\n", location, registerName(exec, r0).data(), idName(id0, m_identifiers[id0]).data());
     716            JSValue scope = JSValue((++it)->u.jsCell);
     717            ++it;
     718            printf("[%4d] resolve_global\t %s, %s, %s\n", location, registerName(exec, r0).data(), valueToSourceString(exec, scope).utf8().data(), idName(id0, m_identifiers[id0]).data());
    717719            it += 2;
    718720            break;
     
    10291031            int r0 = (++it)->u.operand;
    10301032            int f0 = (++it)->u.operand;
    1031             int shouldCheck = (++it)->u.operand;
    1032             printf("[%4d] new_func\t\t %s, f%d, %s\n", location, registerName(exec, r0).data(), f0, shouldCheck ? "<Checked>" : "<Unchecked>");
     1033            printf("[%4d] new_func\t\t %s, f%d\n", location, registerName(exec, r0).data(), f0);
    10331034            break;
    10341035        }
  • trunk/JavaScriptCore/bytecode/Opcode.h

    r68223 r68237  
    4141        macro(op_enter, 1) \
    4242        macro(op_enter_with_activation, 2) \
    43         macro(op_init_lazy_reg, 2) \
     43        macro(op_init_arguments, 2) \
    4444        macro(op_create_arguments, 2) \
    4545        macro(op_create_this, 3) \
     
    154154        macro(op_switch_string, 4) \
    155155        \
    156         macro(op_new_func, 4) \
     156        macro(op_new_func, 3) \
    157157        macro(op_new_func_exp, 3) \
    158158        macro(op_call, 4) \
Note: See TracChangeset for help on using the changeset viewer.