From edfd4cdd33cf2608a964c2bbfd74fa0e19271908 Mon Sep 17 00:00:00 2001 From: "wingo@igalia.com" Date: Thu, 21 Aug 2014 12:06:25 +0000 Subject: [PATCH] Stage ES6 generators R=dslomov@chromium.org BUG= Review URL: https://codereview.chromium.org/479543003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23272 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/flag-definitions.h | 2 +- .../{harmony => es6}/generators-debug-liveedit.js | 0 .../{harmony => es6}/generators-debug-scopes.js | 0 test/mjsunit/{harmony => es6}/generators-iteration.js | 0 test/mjsunit/{harmony => es6}/generators-objects.js | 0 test/mjsunit/{harmony => es6}/generators-parsing.js | 0 .../{harmony => es6}/generators-poisoned-properties.js | 0 test/mjsunit/{harmony => es6}/generators-relocation.js | 0 test/mjsunit/{harmony => es6}/generators-runtime.js | 0 test/mjsunit/{harmony => es6}/regress/regress-2681.js | 0 test/mjsunit/{harmony => es6}/regress/regress-2691.js | 0 test/mjsunit/{harmony => es6}/regress/regress-3280.js | 0 test/mjsunit/mjsunit.status | 18 +++++++++--------- 13 files changed, 10 insertions(+), 10 deletions(-) rename test/mjsunit/{harmony => es6}/generators-debug-liveedit.js (100%) rename test/mjsunit/{harmony => es6}/generators-debug-scopes.js (100%) rename test/mjsunit/{harmony => es6}/generators-iteration.js (100%) rename test/mjsunit/{harmony => es6}/generators-objects.js (100%) rename test/mjsunit/{harmony => es6}/generators-parsing.js (100%) rename test/mjsunit/{harmony => es6}/generators-poisoned-properties.js (100%) rename test/mjsunit/{harmony => es6}/generators-relocation.js (100%) rename test/mjsunit/{harmony => es6}/generators-runtime.js (100%) rename test/mjsunit/{harmony => es6}/regress/regress-2681.js (100%) rename test/mjsunit/{harmony => es6}/regress/regress-2691.js (100%) rename test/mjsunit/{harmony => es6}/regress/regress-3280.js (100%) diff --git a/src/flag-definitions.h b/src/flag-definitions.h index 868802c..f795457 100644 --- a/src/flag-definitions.h +++ b/src/flag-definitions.h @@ -167,7 +167,6 @@ DEFINE_IMPLICATION(harmony, harmony_scoping) DEFINE_IMPLICATION(harmony, harmony_modules) // TODO(rossberg): Reenable when problems are sorted out. // DEFINE_IMPLICATION(harmony, harmony_proxies) -DEFINE_IMPLICATION(harmony, harmony_generators) DEFINE_IMPLICATION(harmony, harmony_numeric_literals) DEFINE_IMPLICATION(harmony, harmony_strings) DEFINE_IMPLICATION(harmony, harmony_arrays) @@ -176,6 +175,7 @@ DEFINE_IMPLICATION(harmony, harmony_classes) DEFINE_IMPLICATION(harmony_modules, harmony_scoping) DEFINE_IMPLICATION(harmony, es_staging) +DEFINE_IMPLICATION(es_staging, harmony_generators) // Flags for experimental implementation features. DEFINE_BOOL(compiled_keyed_dictionary_loads, true, diff --git a/test/mjsunit/harmony/generators-debug-liveedit.js b/test/mjsunit/es6/generators-debug-liveedit.js similarity index 100% rename from test/mjsunit/harmony/generators-debug-liveedit.js rename to test/mjsunit/es6/generators-debug-liveedit.js diff --git a/test/mjsunit/harmony/generators-debug-scopes.js b/test/mjsunit/es6/generators-debug-scopes.js similarity index 100% rename from test/mjsunit/harmony/generators-debug-scopes.js rename to test/mjsunit/es6/generators-debug-scopes.js diff --git a/test/mjsunit/harmony/generators-iteration.js b/test/mjsunit/es6/generators-iteration.js similarity index 100% rename from test/mjsunit/harmony/generators-iteration.js rename to test/mjsunit/es6/generators-iteration.js diff --git a/test/mjsunit/harmony/generators-objects.js b/test/mjsunit/es6/generators-objects.js similarity index 100% rename from test/mjsunit/harmony/generators-objects.js rename to test/mjsunit/es6/generators-objects.js diff --git a/test/mjsunit/harmony/generators-parsing.js b/test/mjsunit/es6/generators-parsing.js similarity index 100% rename from test/mjsunit/harmony/generators-parsing.js rename to test/mjsunit/es6/generators-parsing.js diff --git a/test/mjsunit/harmony/generators-poisoned-properties.js b/test/mjsunit/es6/generators-poisoned-properties.js similarity index 100% rename from test/mjsunit/harmony/generators-poisoned-properties.js rename to test/mjsunit/es6/generators-poisoned-properties.js diff --git a/test/mjsunit/harmony/generators-relocation.js b/test/mjsunit/es6/generators-relocation.js similarity index 100% rename from test/mjsunit/harmony/generators-relocation.js rename to test/mjsunit/es6/generators-relocation.js diff --git a/test/mjsunit/harmony/generators-runtime.js b/test/mjsunit/es6/generators-runtime.js similarity index 100% rename from test/mjsunit/harmony/generators-runtime.js rename to test/mjsunit/es6/generators-runtime.js diff --git a/test/mjsunit/harmony/regress/regress-2681.js b/test/mjsunit/es6/regress/regress-2681.js similarity index 100% rename from test/mjsunit/harmony/regress/regress-2681.js rename to test/mjsunit/es6/regress/regress-2681.js diff --git a/test/mjsunit/harmony/regress/regress-2691.js b/test/mjsunit/es6/regress/regress-2691.js similarity index 100% rename from test/mjsunit/harmony/regress/regress-2691.js rename to test/mjsunit/es6/regress/regress-2691.js diff --git a/test/mjsunit/harmony/regress/regress-3280.js b/test/mjsunit/es6/regress/regress-3280.js similarity index 100% rename from test/mjsunit/harmony/regress/regress-3280.js rename to test/mjsunit/es6/regress/regress-3280.js diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index 4bbbe61..64b9ef1 100644 --- a/test/mjsunit/mjsunit.status +++ b/test/mjsunit/mjsunit.status @@ -130,8 +130,8 @@ 'es6/debug-promises/throw-uncaught-uncaught': [PASS, NO_VARIANTS], 'es6/debug-promises/reject-uncaught-late': [PASS, NO_VARIANTS], 'es6/debug-promises/throw-caught-by-default-reject-handler': [PASS, NO_VARIANTS], + 'es6/generators-debug-scopes': [PASS, NO_VARIANTS], 'harmony/debug-blockscopes': [PASS, NO_VARIANTS], - 'harmony/generators-debug-scopes': [PASS, NO_VARIANTS], 'regress/regress-1081309': [PASS, NO_VARIANTS], 'regress/regress-1170187': [PASS, NO_VARIANTS], 'regress/regress-119609': [PASS, NO_VARIANTS], @@ -146,14 +146,14 @@ # Support for ES6 generators is missing. 'regress-3225': [PASS, NO_VARIANTS], - 'harmony/generators-debug-liveedit': [PASS, NO_VARIANTS], - 'harmony/generators-iteration': [PASS, NO_VARIANTS], - 'harmony/generators-parsing': [PASS, NO_VARIANTS], - 'harmony/generators-poisoned-properties': [PASS, NO_VARIANTS], - 'harmony/generators-relocation': [PASS, NO_VARIANTS], - 'harmony/regress/regress-2681': [PASS, NO_VARIANTS], - 'harmony/regress/regress-2691': [PASS, NO_VARIANTS], - 'harmony/regress/regress-3280': [PASS, NO_VARIANTS], + 'es6/generators-debug-liveedit': [PASS, NO_VARIANTS], + 'es6/generators-iteration': [PASS, NO_VARIANTS], + 'es6/generators-parsing': [PASS, NO_VARIANTS], + 'es6/generators-poisoned-properties': [PASS, NO_VARIANTS], + 'es6/generators-relocation': [PASS, NO_VARIANTS], + 'es6/regress/regress-2681': [PASS, NO_VARIANTS], + 'es6/regress/regress-2691': [PASS, NO_VARIANTS], + 'es6/regress/regress-3280': [PASS, NO_VARIANTS], # Support for ES6 for-of iteration is missing. 'es6/array-iterator': [PASS, NO_VARIANTS], -- 2.7.4