Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 1781f7f0bc38c6621dd27cdffa30daa8d56ef0af..f9165d4cb0dba74b16d34c64d6999856eb3287f6 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -171,6 +171,7 @@ DEFINE_bool(harmony_modules, false, |
"enable harmony modules (implies block scoping)") |
DEFINE_bool(harmony_symbols, false, |
"enable harmony symbols (a.k.a. private names)") |
+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)") |
@@ -187,6 +188,7 @@ 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_observation) |
@@ -196,6 +198,7 @@ DEFINE_implication(harmony, harmony_numeric_literals) |
DEFINE_implication(harmony, harmony_strings) |
DEFINE_implication(harmony, harmony_arrays) |
DEFINE_implication(harmony, harmony_maths) |
+DEFINE_implication(harmony_promises, harmony_collections) |
DEFINE_implication(harmony_modules, harmony_scoping) |
DEFINE_implication(harmony_observation, harmony_collections) |