v8/test/mjsunit/harmony/regress
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
..
regress-2219.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-2225.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-3501.js [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +00:00
regress-4056.js Function scopes only must have a context if they call sloppy eval 2015-04-23 13:19:54 +00:00
regress-4160.js Fix arrow functions requiring context without slots. 2015-06-03 11:32:31 +00:00
regress-4298.js Fix spread array inside array literal 2015-07-15 15:16:13 +00:00
regress-173361.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-343928.js Remove --harmony implications for incomplete features 2014-11-04 16:05:44 +00:00
regress-405844.js Ensure that JSProxy::Fix gives the generated JSObject map a constructor 2014-08-27 15:54:23 +00:00
regress-arrow-duplicate-params.js Support rest parameters in arrow functions 2015-06-10 16:11:31 +00:00
regress-crbug-347528.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-crbug-448730.js [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +00:00
regress-crbug-451770.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
regress-crbug-461520.js Remove effectful assertion 2015-02-25 15:34:21 +00:00
regress-crbug-465671-null.js [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +00:00
regress-crbug-465671.js [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +00:00
regress-lookup-transition.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-observe-empty-double-array.js Re^3-land "Ship promises and weak collections" 2014-05-06 14:48:34 +00:00
regress-typedarray-out-of-bounds.js fix transition of typedarrays in ics 2015-02-09 09:50:15 +00:00