commit | cf13dda1ba25e8293ea143f33c6c5f6233a39c86 | [log] [tgz] |
---|---|---|
author | adamk <adamk@chromium.org> | Mon Oct 19 11:38:14 2015 |
committer | Commit bot <commit-bot@chromium.org> | Mon Oct 19 11:38:28 2015 |
tree | 0e15515d28bbdee46f3cf4fd1b84f11c01a2e986 | |
parent | 80df08b59f99de20de1c049a0c2ae0475a0f7ce3 [diff] |
Always give class literals a block scope Class methods always have the class scope on their scope chain in order to implement strong mode checks. Previously, that scope wasn't attached to the ClassLiteral for anonymous classes (since the scope contained no bindings). This patch simply puts that same scope on the ClassLiteral, anonymous or not, which simplifies other code that needs to reason about the scope of a class and its methods. Review URL: https://codereview.chromium.org/1413903002 Cr-Commit-Position: refs/heads/master@{#31371}
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/*
Please follow the instructions mentioned on the V8 wiki.