commit | 232e28d65e95ec928cdc339ab51bfb93654bc1e2 | [log] [tgz] |
---|---|---|
author | mythria <mythria@chromium.org> | Wed Jan 20 13:48:55 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jan 20 13:49:18 2016 |
tree | 9ebfe3f9784101c83048de4b47c49e5481a4601c | |
parent | 96a333d999f778dc1a27a5713956c8e76d52db6d [diff] |
[Interpreter] Marks that 'throw' has returned a value. This is to fix some of the failing test262 tests with ignition flag. In few test262 tests, there is a throw from the script scope. Rewriter::Rewrite pass converts expression statements into assignment statements in script scope. This causes interpreter to fail because assignment expression expects a result in accumulator but throw statement does not return a value. To fix this, we now mark that accumulator contains a value when visiting throw statement. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1523423003 Cr-Commit-Position: refs/heads/master@{#33408}
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://github.com/v8/v8/wiki
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.