v8/test/mjsunit/harmony/regress
adamk 0bdaa4d877 Fix eval calls in initializers of arrow function parameters
This requires copying usage flags from the outer scope to the
arrow scope upon encountering the arrow token.

In order to properly pass-on the calls_eval bit, now record
that bit on script scopes just like everywhere else, and add
necessary code to scopes.cc to handle that change in behavior.

Also factored out scope flag propagation to its own method to
make the call site simple (though note that only the eval
bit makes any difference for arrows).

BUG=v8:4395
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#31660}
2015-10-29 15:16:40 +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-4211.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
regress-4395-global-eval.js Fix eval calls in initializers of arrow function parameters 2015-10-29 15:16:40 +00:00
regress-4395.js Fix eval calls in initializers of arrow function parameters 2015-10-29 15:16:40 +00:00
regress-4400.js Don't crash when preparsing destructured arguments 2015-09-22 17:43:43 +00:00
regress-4482.js Don't throw on assignment to function name binding in harmony sloppy mode 2015-10-12 16:55:35 +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 Add a --harmony-object-observe runtime flag (on by default) 2015-08-04 20:53:32 +00:00
regress-508074.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
regress-513474.js Find right scope associated with prologue 2015-07-24 13:08:32 +00:00
regress-517455.js Regression test for crbug 517455 2015-08-07 13:32:46 +00:00
regress-546967.js [es7] bailout Crankshaft in VisitDoExpression 2015-10-24 07:06:59 +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 Delete --harmony-computed-property-names flag 2015-08-05 21:32:38 +00:00
regress-crbug-461520.js Remove effectful assertion 2015-02-25 15:34:21 +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 Add a --harmony-object-observe runtime flag (on by default) 2015-08-04 20:53:32 +00:00
regress-typedarray-out-of-bounds.js fix transition of typedarrays in ics 2015-02-09 09:50:15 +00:00