• mbrandy's avatar
    PPC: [runtime] Throw exception for derived constructors in correct context. · bbb95fba
    mbrandy authored
    Port c86f1897
    
    Original commit message:
        When derived constructors return a non-object (or not undefined) we
        currently throw an exception directly in the callee context. This was
        achieved by desugaring the return statement for derived classes. To
        be spec compliamnt a separate ConstructStubForDerived is introduced.
        Instead of trowing directly, the desugared return statement inside
        a derived constructor only returns an integer to indicate an incompatible
        result.
    
    R=cbruni@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=v8:4509
    LOG=n
    
    Review URL: https://codereview.chromium.org/1595593002
    
    Cr-Commit-Position: refs/heads/master@{#33341}
    bbb95fba
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-ppc-inl.h Loading commit data...
assembler-ppc.cc Loading commit data...
assembler-ppc.h Loading commit data...
builtins-ppc.cc Loading commit data...
code-stubs-ppc.cc Loading commit data...
code-stubs-ppc.h Loading commit data...
codegen-ppc.cc Loading commit data...
codegen-ppc.h Loading commit data...
constants-ppc.cc Loading commit data...
constants-ppc.h Loading commit data...
cpu-ppc.cc Loading commit data...
deoptimizer-ppc.cc Loading commit data...
disasm-ppc.cc Loading commit data...
frames-ppc.cc Loading commit data...
frames-ppc.h Loading commit data...
interface-descriptors-ppc.cc Loading commit data...
macro-assembler-ppc.cc Loading commit data...
macro-assembler-ppc.h Loading commit data...
simulator-ppc.cc Loading commit data...
simulator-ppc.h Loading commit data...