Ignore:
Timestamp:
May 19, 2010, 10:36:17 PM (15 years ago)
Author:
[email protected]
Message:

Errk! rename op_constructor_ret as requested in review of Bug 39399.

Reviewed by Geoff Garen.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dump):

  • bytecode/Opcode.h:
  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitReturn):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

  • jit/JIT.cpp:

(JSC::JIT::privateCompileMainPass):

  • jit/JIT.h:
  • jit/JITCall.cpp:

(JSC::JIT::emit_op_ret_object_or_this):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_ret_object_or_this):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

    r59817 r59820  
    15421542    }
    15431543
    1544     // Constructors use op_constructor_ret to check the result is an
     1544    // Constructors use op_ret_object_or_this to check the result is an
    15451545    // object, unless we can trivially determine the check is not
    15461546    // necessary (currently, if the return value is 'this').
    15471547    if (isConstructor() && (src->index() != m_thisRegister.index())) {
    1548         emitOpcode(op_constructor_ret);
     1548        emitOpcode(op_ret_object_or_this);
    15491549        instructions().append(src->index());
    15501550        instructions().append(m_thisRegister.index());
Note: See TracChangeset for help on using the changeset viewer.