DescriptionMIPS: [runtime] Throw exception for derived constructors in correct context.
Port for https://codereview.chromium.org/1593553002/
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.
BUG=v8:4509
LOG=n
Committed: https://crrev.com/316ef286765deab3079d8dda4853da9c5dc842d4
Cr-Commit-Position: refs/heads/master@{#33340}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Drop push()es. #
Messages
Total messages: 10 (3 generated)
|