Comment #8 on issue 3887 by [email protected]: Implement new.target
https://code.google.com/p/v8/issues/detail?id=3887#c8

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/7a63bf77eb7610afdc1a968f7660781e5160ba8d

commit 7a63bf77eb7610afdc1a968f7660781e5160ba8d
Author: arv <[email protected]>
Date: Mon Jun 29 18:29:20 2015

[es6] Make new.target work in functions

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=v8:3887
LOG=N
[email protected], [email protected]

Review URL: https://codereview.chromium.org/1203813002

Cr-Commit-Position: refs/heads/master@{#29358}

[modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/arm/builtins-arm.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/arm64/builtins-arm64.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/arm64/full-codegen-arm64.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/builtins.h [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/compiler.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/ia32/builtins-ia32.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/mips/builtins-mips.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/mips64/builtins-mips64.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/scopes.cc [modify] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/src/x64/builtins-x64.cc [add] http://crrev.com/7a63bf77eb7610afdc1a968f7660781e5160ba8d/test/mjsunit/harmony/new-target.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to