v8/test/mjsunit/harmony/regress
bmeurer e41614a058 Revert of [es6] Fix scoping for default parameters in arrow functions (patchset #5 id:80001 of https://codereview.chromium.org/1405313002/ )
Reason for revert:
Breaks nosnap: http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20debug%20-%202/builds/2407/steps/Check/logs/regress-4395

Original issue's description:
> [es6] Fix scoping for default parameters in arrow functions
>
> When eagerly parsing arrow functions, expressions in default
> parameter initializers are parsed in the enclosing scope,
> rather than in the function's scope (since that scope does not
> yet exist). This leads to VariableProxies being added to the
> wrong scope, and scope chains for FunctionLiterals being incorrect.
>
> This patch addresses these problems by adding a subclass of
> AstExpressionVisitor that moves VariableProxies to the proper
> scope and fixes up scope chains of FunctionLiterals.
>
> More work likely still needs to be done to make this work completely,
> but it's very close to correct.
>
> BUG=v8:4395
> LOG=y
>
> Committed: https://crrev.com/cf72aad39e51de9b7074ea039377c1812f4a2c6b
> Cr-Commit-Position: refs/heads/master@{#31402}

TBR=rossberg@chromium.org,caitpotter88@gmail.com,adamk@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:4395

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

Cr-Commit-Position: refs/heads/master@{#31404}
2015-10-20 10:36:38 +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-4298.js Fix spread array inside array literal 2015-07-15 15:16:13 +00:00
regress-4400.js Don't crash when preparsing destructured arguments 2015-09-22 17:43:43 +00:00
regress-4417.js Fix spread operator in ArrayLiterals when nested in other literals 2015-09-15 16:43:39 +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-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