Comment #3 on issue 3819 by [email protected]: Duplicate __proto__ properties should be a syntax error
https://code.google.com/p/v8/issues/detail?id=3819#c3

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/b004b1d821e28ffec8212a7cdf46b84cbdf74b67

commit b004b1d821e28ffec8212a7cdf46b84cbdf74b67
Author: arv <[email protected]>
Date: Thu Jan 29 23:12:25 2015

Move object literal checking into checker classes

This removes the duplicate property check from object literals.

Instead we repurpose the ObjectLiteralChecker into two cases, implemented
by two subclasses to ObjectLiteralCheckerBase called ObjectLiteralChecker
and ClassLiteralChecker.

The object literal checker now only checks for duplicate __proto__ fields in
object literals.

The class literal checker checks for duplicate constructors, non constructor
fields named constructor as well as static properties named prototype.

BUG=v8:3819
LOG=Y
R=adamk, [email protected]

Review URL: https://codereview.chromium.org/873823003

Cr-Commit-Position: refs/heads/master@{#26336}

[modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/arm/full-codegen-arm.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/arm64/full-codegen-arm64.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/ast.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/compiler/ast-graph-builder.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/ia32/full-codegen-ia32.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/messages.js [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/mips/full-codegen-mips.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/mips64/full-codegen-mips64.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/parser.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/ppc/full-codegen-ppc.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/preparser.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/preparser.h [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/x64/full-codegen-x64.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/src/x87/full-codegen-x87.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/test/cctest/test-parsing.cc [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/test/mjsunit/object-literal-multiple-proto-fields.js [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/test/mjsunit/strict-mode.js [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/test/test262-es6/test262-es6.status [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/test/test262/test262.status [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/test/webkit/object-literal-syntax-expected.txt [modify] http://crrev.com/b004b1d821e28ffec8212a7cdf46b84cbdf74b67/test/webkit/object-literal-syntax.js


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to