Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: src/flag-definitions.h

Issue 938443002: [es6] implement spread calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add construct support, clean out some gunk Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index 002fa9cdb5c452a6b89efabcdde8cfad0bf0716b..c436da1008eada810e0165aad8303d999a9f20d5 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -181,6 +181,7 @@ DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony fetaures")
DEFINE_IMPLICATION(harmony, es_staging)
DEFINE_IMPLICATION(es_staging, harmony)
+
// Features that are still work in progress (behind individual flags).
#define HARMONY_INPROGRESS(V) \
V(harmony_modules, "harmony modules (implies block scoping)") \
@@ -193,7 +194,9 @@ DEFINE_IMPLICATION(es_staging, harmony)
V(harmony_unicode, "harmony unicode escapes") \
V(harmony_unicode_regexps, "harmony unicode regexps") \
V(harmony_computed_property_names, "harmony computed property names") \
- V(harmony_rest_parameters, "harmony rest parameters")
+ V(harmony_rest_parameters, "harmony rest parameters") \
+ V(harmony_spread, "harmony spread operator") \
+ V(harmony_spreadcalls, "harmony spread-calls")
arv (Not doing code reviews) 2015/02/18 15:07:05 harmony_spread_calls maybe? It is not clear why t
caitp (gmail) 2015/02/18 15:32:08 I thought it might work well to put spread calls a
arv (Not doing code reviews) 2015/02/18 15:36:54 Good idea. I like.
// Features that are complete (but still behind --harmony/es-staging flag).
#define HARMONY_STAGED(V) \
@@ -238,7 +241,8 @@ DEFINE_IMPLICATION(harmony_modules, harmony_scoping)
DEFINE_IMPLICATION(harmony_classes, harmony_scoping)
DEFINE_IMPLICATION(harmony_classes, harmony_object_literals)
DEFINE_IMPLICATION(harmony_unicode_regexps, harmony_unicode)
-
+DEFINE_IMPLICATION(harmony_spreadcalls, harmony_spread)
+DEFINE_IMPLICATION(harmony_spread, harmony_spreadcalls)
// Flags for experimental implementation features.
DEFINE_BOOL(compiled_keyed_generic_loads, false,

Powered by Google App Engine
This is Rietveld 408576698