Description[es2015] Simplify contract between parser and stub for derived constructors.
Rewrite returns in derived constructors to only replace undefined with
this, and otherwise just return the value, and let the construct stub
builtin throw an exception if the result is a primitive instead of a
JSReceiver.
R=yangguo@chromium.org
TBR=marja@chromium.org
BUG=chromium:706642
Review-Url: https://codereview.chromium.org/2788033002
Cr-Commit-Position: refs/heads/master@{#44288}
Committed: https://chromium.googlesource.com/v8/v8/+/776d89f9ce6e043972c1e611aa8cfaf2feb1fb78
Patch Set 1 #Patch Set 2 : Fix typo. #Patch Set 3 : Manual register allocation... #
Messages
Total messages: 21 (15 generated)
|