commit | fc52e323611a3f2e5812611a2a4915e6760c65e5 | [log] [tgz] |
---|---|---|
author | gsathya <gsathya@chromium.org> | Sat Aug 20 01:01:39 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Aug 20 01:01:51 2016 |
tree | c9d54d6ac41c625c8237ddf8c60349288ac2a0d2 | |
parent | 7da873b73fa22473573baa27f641a1d07a357121 [diff] |
[parser] Allow duplicate __proto__ keys in patterns This patch subsumes CoverInitializedNameProduction to create an ObjectLiteralProduction which is now used to report the duplicate proto error as well. This patch also changes ObjectLiteralChecker::CheckProperty to record an ObjectLiteralProduction error instead of bailing out immediately. Once we realize that we're in a pattern, we rewind the error, otherwise we report the error. BUG=v8:5121 Review-Url: https://codereview.chromium.org/2255353002 Cr-Commit-Position: refs/heads/master@{#38764}
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.