Comment #1 on issue 3818 by [email protected]: __proto__ should only not set prototype for method etc
https://code.google.com/p/v8/issues/detail?id=3818#c1

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

commit bc3b2960e3b7abc16440717f289a430aef904cb1
Author: arv <[email protected]>
Date: Tue Jan 20 16:31:27 2015

Fix issue with __proto__ when using ES6 object literals

It should be possible to create a concise method with the name
__proto__ without setting the [[Prototype]]. Similarly, property
name shorthands with the name __proto__ should define an own
property.

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

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

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

[modify] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/src/ast.cc
[modify] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/src/ast.h
[modify] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/src/compiler/ast-graph-builder.cc [modify] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/src/ia32/full-codegen-ia32.cc [modify] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/src/preparser.h [modify] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/test/mjsunit/harmony/object-literals-method.js [modify] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/test/mjsunit/harmony/object-literals-property-shorthand.js [add] http://crrev.com/bc3b2960e3b7abc16440717f289a430aef904cb1/test/mjsunit/object-literal-multiple-proto-fields.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