commit | 7a63bf77eb7610afdc1a968f7660781e5160ba8d | [log] [tgz] |
---|---|---|
author | arv <arv@chromium.org> | Mon Jun 29 18:29:20 2015 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jun 29 18:29:34 2015 |
tree | 58d49f977bdfef6a2d8386136d1b343860e5b830 | |
parent | 473badf5fabf0856f89aa6be3d25b639fa217a7e [diff] |
[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 R=adamk@chromium.org, dslomov@chromium.org Review URL: https://codereview.chromium.org/1203813002 Cr-Commit-Position: refs/heads/master@{#29358}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://code.google.com/p/v8/
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*