Reviewers: Dmitry Lomov (chromium),
Message:
The only difference from last time is in hydrogen.cc
Description:
ES6 computed property names
This adds support for computed property names, under the flag
--harmony-computed-property-names, for both object literals and
classes.
This is a revert of the revert, a76419f0f497db156eb1010e9b4be398951280cb.
This changes to do an early bailout in
HOptimizedGraphBuilder::VisitObjectLiteral instead of doing that in the
later
loop.
BUG=v8:3754
LOG=Y
[email protected]
Please review this at https://codereview.chromium.org/792233008/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1368, -201 lines):
M src/arm/full-codegen-arm.cc
M src/arm64/full-codegen-arm64.cc
M src/ast.h
M src/ast.cc
M src/ast-numbering.cc
M src/bailout-reason.h
M src/bootstrapper.cc
M src/builtins.h
M src/compiler/ast-graph-builder.cc
M src/flag-definitions.h
M src/full-codegen.h
M src/full-codegen.cc
M src/hydrogen.cc
M src/ia32/full-codegen-ia32.cc
M src/parser.h
M src/parser.cc
M src/preparser.h
M src/preparser.cc
M src/runtime.js
M src/runtime/runtime.h
M src/runtime/runtime-classes.cc
M src/runtime/runtime-object.cc
M src/typing.cc
M src/x64/full-codegen-x64.cc
M test/cctest/test-parsing.cc
A test/mjsunit/harmony/computed-property-names.js
A test/mjsunit/harmony/computed-property-names-classes.js
A test/mjsunit/harmony/computed-property-names-object-literals-methods.js
--
--
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.