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

Unified Diff: src/flag-definitions.h

Issue 2273953003: Add support for DateTimeFormat.formatToParts (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 4 years, 3 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 7c97a470d4c17c50e08f799afc3b50b817878c56..977b715b917469a996301a4cfde357e8b077c224 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -180,9 +180,11 @@ DEFINE_BOOL(harmony, false, "enable all completed harmony features")
DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
DEFINE_IMPLICATION(es_staging, harmony)
+#ifdef V8_I18N_SUPPORT
DEFINE_BOOL(intl_extra, false, "additional V8 Intl functions")
// Removing extra Intl functions is shipped
DEFINE_NEG_VALUE_IMPLICATION(harmony_shipping, intl_extra, true)
+#endif
// Activate on ClusterFuzz.
DEFINE_IMPLICATION(es_staging, harmony_regexp_lookbehind)
@@ -212,8 +214,9 @@ DEFINE_IMPLICATION(es_staging, move_object_start)
V(harmony_string_padding, "harmony String-padding methods")
#ifdef V8_I18N_SUPPORT
-#define HARMONY_STAGED(V) \
- HARMONY_STAGED_BASE(V) \
+#define HARMONY_STAGED(V) \
+ HARMONY_STAGED_BASE(V) \
+ V(datetime_format_to_parts, "Intl.DateTimeFormat.formatToParts") \
Dan Ehrenberg 2016/09/06 19:39:29 Please check this in initially as INPROGRESS; I wa
jungshik at Google 2016/09/06 21:35:14 Well, for local testing, I don't need it either be
V(icu_case_mapping, "case mapping with ICU rather than Unibrow")
#else
#define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V)
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap-symbols.h » ('j') | src/js/datetime-format-to-parts.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698