DescriptionX87: [es6] Make new.target work in functions.
port 7a63bf77eb7610afdc1a968f7660781e5160ba8d (r29358).
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.
BUG=
Committed: https://crrev.com/b913e2a97ad9b268751d709de9107d4a409d9280
Cr-Commit-Position: refs/heads/master@{#29413}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|