Commit 2a866bc4 authored by adamk's avatar adamk Committed by Commit bot

Stage --harmony-destructuring and --harmony-default-parameters

Since enabling destructuring already implies enabling default parameters,
there's not a good way to separate these two. Luckily, they're both
feature-complete (save for destructuring assignment).

This causes us to pass an additional 24 test262 tests.

BUG=v8:811, v8:2160
LOG=y

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

Cr-Commit-Position: refs/heads/master@{#31844}
parent 1447f743
......@@ -199,8 +199,6 @@ DEFINE_IMPLICATION(es_staging, harmony_destructuring)
V(harmony_unicode_regexps, "harmony unicode regexps") \
V(harmony_reflect, "harmony Reflect API") \
V(harmony_sloppy_function, "harmony sloppy function block scoping") \
V(harmony_destructuring, "harmony destructuring") \
V(harmony_default_parameters, "harmony default parameters") \
V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \
V(harmony_simd, "harmony simd") \
V(harmony_do_expressions, "harmony do-expressions") \
......@@ -208,6 +206,8 @@ DEFINE_IMPLICATION(es_staging, harmony_destructuring)
// Features that are complete (but still behind --harmony/es-staging flag).
#define HARMONY_STAGED(V) \
V(harmony_default_parameters, "harmony default parameters") \
V(harmony_destructuring, "harmony destructuring") \
V(harmony_regexps, "harmony regular expression extensions") \
V(harmony_tostring, "harmony toString") \
V(harmony_sloppy, "harmony features in sloppy mode") \
......
......@@ -184,20 +184,9 @@
# This should work as soon as rest parameters are re-implemented via desaguring.
'language/expressions/arrow-function/syntax/early-errors/arrowparameters-cover-no-duplicates-rest': [PASS, FAIL],
# https://code.google.com/p/v8/issues/detail?id=2160
'language/expressions/arrow-function/syntax/arrowparameters-cover-initialize-1': [FAIL],
'language/expressions/arrow-function/syntax/arrowparameters-cover-initialize-2': [FAIL],
'language/expressions/object/method-definition/generator-super-prop-param': [FAIL],
'language/expressions/object/method-definition/name-param-init-yield': [FAIL],
'language/expressions/object/method-definition/name-super-prop-param': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=3673
'language/statements/class/definition/basics': [FAIL],
# Destructuring
# https://code.google.com/p/v8/issues/detail?id=811
'language/statements/for-of/body-dstr-assign': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=3566
'language/statements/for-of/body-dstr-assign-error': [FAIL],
'language/statements/for-of/body-put-error': [FAIL],
......@@ -247,9 +236,11 @@
'built-ins/GeneratorPrototype/return/try-finally-within-finally': [FAIL],
'built-ins/GeneratorPrototype/return/try-finally-within-try': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=811
# Destructuring assignment
# https://code.google.com/p/v8/issues/detail?id=811
'language/expressions/assignment/destructuring/*': [SKIP],
'language/default-parameters/*': [SKIP],
'language/statements/for-of/body-dstr-assign': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=4248
'language/expressions/compound-assignment/S11.13.2_A5.*': [FAIL],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment