Skip to content
  • barraclough@apple.com's avatar
    Bug 39399 - Move responsibility for verifying constructors return objects from... · fdaf8dcc
    barraclough@apple.com authored
    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):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fdaf8dcc