v8/test/mjsunit/harmony/regress
adamk ed18aa65ea Remove support for legacy const, part 1
Now that ES2015 const has shipped, in Chrome 49, legacy const declarations
are no more. This lets us remove a bunch of code from many parts of the
codebase.

In this patch, I remove parser support for generating legacy const variables
from const declarations. This also removes the special "illegal declaration"
bit from Scope, which has ripples into all compiler backends.

Also gone are any tests which relied on legacy const declarations.

Note that we do still generate a Variable in mode CONST_LEGACY in one case:
function name bindings in sloppy mode. The likely fix there is to add a new
Variable::Kind for this case and handle it appropriately for stores in each
backend, but I leave that for a later patch to make this one completely
subtractive.

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

Cr-Commit-Position: refs/heads/master@{#35002}
2016-03-22 17:52:13 +00:00
..
regress-4482.js Remove support for legacy const, part 1 2016-03-22 17:52:13 +00:00
regress-4658.js Fix issue with re-scoping in do expressions 2016-03-01 09:04:38 +00:00
regress-4696.js Fix bug with spread rewriting 2016-01-21 12:16:20 +00:00
regress-4755.js [fullcodegen] Implement operand stack depth tracking. 2016-02-23 13:41:44 +00:00
regress-173361.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +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-571149.js Don't pre-initialise block contexts with holes 2016-01-14 18:04:35 +00:00
regress-crbug-578038.js Fix re-indexing for literals in do-expressions 2016-01-18 15:20:58 +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