24e982816f
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} |
||
---|---|---|
.. | ||
regress-2219.js | ||
regress-2225.js | ||
regress-3501.js | ||
regress-4056.js | ||
regress-4160.js | ||
regress-4298.js | ||
regress-173361.js | ||
regress-343928.js | ||
regress-405844.js | ||
regress-arrow-duplicate-params.js | ||
regress-crbug-347528.js | ||
regress-crbug-448730.js | ||
regress-crbug-451770.js | ||
regress-crbug-461520.js | ||
regress-crbug-465671-null.js | ||
regress-crbug-465671.js | ||
regress-lookup-transition.js | ||
regress-observe-empty-double-array.js | ||
regress-typedarray-out-of-bounds.js |