DescriptionPPC: [es6] Make new.target work in functions
Port 7a63bf77eb7610afdc1a968f7660781e5160ba8d
Original commit message:
This makes new.target work in [[Call]] and [[Construct]] of ordinary
functions.
We achieve this by introducing a new construct stub for functions that
uses the new.target variable. The construct stub pushes the original
constructor just above the receiver in the construct frame.
R=arv@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
BUG=
Committed: https://crrev.com/57c5fd7ec5e9c26fc4568e7e16363ec75faa9ec2
Cr-Commit-Position: refs/heads/master@{#29360}
Patch Set 1 #
Messages
Total messages: 7 (1 generated)
|