v8/test
adamk 24e982816f Fix spread array inside array literal
During parsing, we now keep track of the first spread seen in an array
literal (if any), and make use of that information when creating the
FixedArray backing store representing the constant elements for array
literal materialization.

The old code tried to do this by setting the generated JSArray's length
in ArrayLiteral::BuildConstantElements(), but that Array length is never
read by the rest of the literal materialization code (it always uses
the length of the FixedArray backing store).

BUG=v8:4298
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#29684}
2015-07-15 15:16:13 +00:00
..
benchmarks [turbofan] Add single --turbo flag. 2015-04-16 16:28:39 +00:00
cctest Let the second pass phantom callbacks run in a separate task on the foreground thread. 2015-07-15 12:26:11 +00:00
intl Allow identifier code points from supplementary multilingual planes. 2014-10-10 07:13:46 +00:00
js-perf-test [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message Improve error message for duplicate parameters 2015-07-14 21:59:03 +00:00
mjsunit Fix spread array inside array literal 2015-07-15 15:16:13 +00:00
mozilla [turbofan] Enable support for try-catch statements. 2015-06-11 10:50:55 +00:00
preparser Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
promises-aplus Enable access check tests that no longer fail with TF. 2014-08-14 13:24:57 +00:00
simdjs Skip simdjs/shell_test_runner on big-endian platforms. 2015-05-27 18:55:55 +00:00
test262 [test] Port clobber of old test262 archive files. 2015-07-06 12:09:46 +00:00
test262-es6 [es6] JSObject::GetOwnElementKeys should collect String wrapper keys first 2015-07-15 07:31:40 +00:00
unittests Let the second pass phantom callbacks run in a separate task on the foreground thread. 2015-07-15 12:26:11 +00:00
webkit Scoping error caused crash in CallICNexus::StateFromFeedback 2015-07-15 09:15:05 +00:00