v8/test/mjsunit/harmony/regress
mstarzinger 68beef53c3 Fix arrow functions requiring context without slots.
This fixes a corner-case where arrow functions that require a context
allocate none, because there are no additional slots allocated. Note
that this didn't happen with true function scopes because they always
had at least the receiver slot.

The outcome was a context chain that no longer was in sync with the
scope chain, hence context slot loads were bogus. This is observable
using the DYNAMIC_LOCAL optimization in all compilers.

R=rossberg@chromium.org,wingo@igalia.com
TEST=mjsunit/harmony/regress/regress-4160
BUG=v8:4160
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28788}
2015-06-03 11:32:31 +00:00
..
regress-2219.js
regress-2225.js
regress-3501.js [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +00:00
regress-3750.js
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-173361.js
regress-343928.js
regress-405844.js
regress-455141.js Remove --experimental-classes flag and related dead code. 2015-02-12 20:07:15 +00:00
regress-crbug-347528.js
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 [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +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
regress-observe-empty-double-array.js
regress-typedarray-out-of-bounds.js fix transition of typedarrays in ics 2015-02-09 09:50:15 +00:00