Comment #16 on issue 4387 by [email protected]: Computed property
names don't work in nested literals
https://code.google.com/p/v8/issues/detail?id=4387#c16
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/233d62f8e306e56d5ed0597b008c205700e744bd
commit 233d62f8e306e56d5ed0597b008c205700e744bd
Author: adamk <[email protected]>
Date: Tue Aug 25 21:10:34 2015
[es6] Fix computed property names in nested literals
Make ObjectLiteral::is_simple() false for literals containing computed
property names, which causes IsCompileTimeValue() to return false and
thus force code to be generated for setting up such properties. This
mirrors the handling of '__proto__' in literals.
BUG=v8:4387
LOG=y
Review URL: https://codereview.chromium.org/1307943007
Cr-Commit-Position: refs/heads/master@{#30362}
[modify]
http://crrev.com/233d62f8e306e56d5ed0597b008c205700e744bd/src/ast.cc
[modify]
http://crrev.com/233d62f8e306e56d5ed0597b008c205700e744bd/test/mjsunit/es6/computed-property-names.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.