Ignore:
Timestamp:
Jun 14, 2011, 4:05:40 PM (14 years ago)
Author:
[email protected]
Message:

2011-06-14 Sheriff Bot <[email protected]>

Unreviewed, rolling out r88841.
http://trac.webkit.org/changeset/88841
https://bugs.webkit.org/show_bug.cgi?id=62672

Caused many tests to crash (Requested by rniwa on #webkit).

  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump):
  • bytecode/CodeBlock.h:
  • bytecode/Opcode.h:
  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitNewArray):
  • bytecompiler/BytecodeGenerator.h:
  • bytecompiler/NodesCodegen.cpp: (JSC::ArrayNode::emitBytecode):
  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass):
  • jit/JIT.h:
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_new_array):
  • jit/JITOpcodes32_64.cpp: (JSC::JIT::emit_op_new_array):
  • jit/JITStubs.cpp:
  • jit/JITStubs.h:
File:
1 edited

Legend:

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

    r88841 r88866  
    15521552        callFrame->uncheckedR(dst) = JSValue(constructArray(callFrame, args));
    15531553
    1554         vPC += OPCODE_LENGTH(op_new_array);
    1555         NEXT_INSTRUCTION();
    1556     }
    1557     DEFINE_OPCODE(op_new_array_buffer) {
    1558         /* new_array_buffer dst(r) index(n) argCount(n)
    1559          
    1560          Constructs a new Array instance using the original
    1561          constructor, and puts the result in register dst.
    1562          The array be initialized with the values from immediateBuffer[index]
    1563          */
    1564         int dst = vPC[1].u.operand;
    1565         int firstArg = vPC[2].u.operand;
    1566         int argCount = vPC[3].u.operand;
    1567         ArgList args(codeBlock->immediateBuffer(firstArg), argCount);
    1568         callFrame->uncheckedR(dst) = JSValue(constructArray(callFrame, args));
    1569        
    15701554        vPC += OPCODE_LENGTH(op_new_array);
    15711555        NEXT_INSTRUCTION();
Note: See TracChangeset for help on using the changeset viewer.