Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 3bc8444d968877fac25a1c4e0b4fb71f699d6597..d69ab89cbc1fe3078d1279f2caa57719784c2e3f 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -178,7 +178,9 @@ DEFINE_bool(harmony_symbols, false, |
DEFINE_bool(harmony_promises, false, "enable harmony promises") |
DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
DEFINE_bool(harmony_collections, false, |
- "enable harmony collections (sets, maps, and weak maps)") |
+ "enable harmony collections (sets, maps, weak sets, weak maps)") |
+DEFINE_bool(harmony_weak_collections, false, |
+ "enable only harmony weak collections (weak sets and maps)") |
DEFINE_bool(harmony_generators, false, "enable harmony generators") |
DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") |
DEFINE_bool(harmony_numeric_literals, false, |
@@ -191,7 +193,6 @@ DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") |
DEFINE_implication(harmony, harmony_scoping) |
DEFINE_implication(harmony, harmony_modules) |
DEFINE_implication(harmony, harmony_symbols) |
-DEFINE_implication(harmony, harmony_promises) |
DEFINE_implication(harmony, harmony_proxies) |
DEFINE_implication(harmony, harmony_collections) |
DEFINE_implication(harmony, harmony_generators) |
@@ -199,11 +200,14 @@ DEFINE_implication(harmony, harmony_iteration) |
DEFINE_implication(harmony, harmony_numeric_literals) |
DEFINE_implication(harmony, harmony_strings) |
DEFINE_implication(harmony, harmony_arrays) |
-DEFINE_implication(harmony_promises, harmony_collections) |
+DEFINE_implication(harmony_collections, harmony_weak_collections) |
+DEFINE_implication(harmony_promises, harmony_weak_collections) |
DEFINE_implication(harmony_modules, harmony_scoping) |
DEFINE_implication(harmony, es_staging) |
DEFINE_implication(es_staging, harmony_maths) |
+DEFINE_implication(es_staging, harmony_promises) |
+DEFINE_implication(es_staging, harmony_weak_collections) |
// Flags for experimental implementation features. |
DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |