Changeset 59817 in webkit for trunk/JavaScriptCore/jit/JIT.cpp


Ignore:
Timestamp:
May 19, 2010, 9:57:20 PM (15 years ago)
Author:
[email protected]
Message:

Bug 39399 - Move responsibility for verifying constructors return objects from the caller to the callee.

Reviewed by Geoff Garen.

This is a necessary step to move object creation from caller to callee.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dump):

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

(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::emitReturn):
(JSC::BytecodeGenerator::emitConstruct):

  • bytecompiler/BytecodeGenerator.h:

(JSC::BytecodeGenerator::isConstructor):

  • bytecompiler/NodesCodegen.cpp:

(JSC::FunctionBodyNode::emitBytecode):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

  • jit/JIT.cpp:

(JSC::JIT::privateCompileMainPass):
(JSC::JIT::privateCompileSlowCases):

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

(JSC::JIT::emit_op_constructor_ret):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_constructor_ret):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JIT.cpp

    r59777 r59817  
    222222        DEFINE_OP(op_catch)
    223223        DEFINE_OP(op_construct)
    224         DEFINE_OP(op_construct_verify)
    225224        DEFINE_OP(op_convert_this)
    226225        DEFINE_OP(op_init_arguments)
     
    303302        DEFINE_OP(op_resolve_with_base)
    304303        DEFINE_OP(op_ret)
     304        DEFINE_OP(op_constructor_ret)
    305305        DEFINE_OP(op_rshift)
    306306        DEFINE_OP(op_urshift)
     
    390390        DEFINE_SLOWCASE_OP(op_call_varargs)
    391391        DEFINE_SLOWCASE_OP(op_construct)
    392         DEFINE_SLOWCASE_OP(op_construct_verify)
    393392        DEFINE_SLOWCASE_OP(op_convert_this)
    394393#if !USE(JSVALUE32)
Note: See TracChangeset for help on using the changeset viewer.