|
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
TBR=dslomov@chromium.org
Committed: https://crrev.com/cc568d1b7ae7ff9f870f21aaad6698e2cd6cd9d2
Cr-Commit-Position: refs/heads/master@{#25868}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1368 lines, -201 lines) |
Patch |
|
M |
src/arm/full-codegen-arm.cc
|
View
|
|
5 chunks |
+69 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/arm64/full-codegen-arm64.cc
|
View
|
|
5 chunks |
+69 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/ast.h
|
View
|
|
3 chunks |
+21 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/ast.cc
|
View
|
|
6 chunks |
+33 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/ast-numbering.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/bailout-reason.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/builtins.h
|
View
|
|
1 chunk |
+28 lines, -27 lines |
0 comments
|
Download
|
|
M |
src/compiler/ast-graph-builder.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/flag-definitions.h
|
View
|
|
1 chunk |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
|
4 chunks |
+67 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/parser.h
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
|
5 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/preparser.h
|
View
|
|
18 chunks |
+98 lines, -33 lines |
0 comments
|
Download
|
|
M |
src/preparser.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime.js
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-classes.cc
|
View
|
|
2 chunks |
+1 line, -45 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/typing.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
|
4 chunks |
+67 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
|
3 chunks |
+62 lines, -1 line |
0 comments
|
Download
|
|
A |
test/mjsunit/harmony/computed-property-names.js
|
View
|
|
1 chunk |
+270 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/harmony/computed-property-names-classes.js
|
View
|
|
1 chunk |
+367 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/harmony/computed-property-names-object-literals-methods.js
|
View
|
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (2 generated)
|