commit | 1a8dc98cbf9d661785444fa70ec7fbc2fd7e0d6c | [log] [tgz] |
---|---|---|
author | adamk <adamk@chromium.org> | Tue Feb 24 22:39:26 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 24 22:39:35 2015 |
tree | 76b8cbce93ee956300dc2a9b9d1f4e0f5a2c72a2 | |
parent | affcfaf42801414d25b3e57271a9803a026f40ed [diff] |
Fix up ParseProgram and ParseModule to do something sane with module scopes The FunctionLiteral returned from the parser for modules now has a MODULE_SCOPE, instead of associating the module scope with a Block inside it. This makes it easy to get at the ModuleDescriptor from the caller of Parse(), so I've added a basic test that pokes at the scope and the descriptor. Expect more tests in this vein. BUG=v8:1569 LOG=n Review URL: https://codereview.chromium.org/953983002 Cr-Commit-Position: refs/heads/master@{#26836}
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/*