From 3c2103bd8bce655211bcc807148d26a31facfbc1 Mon Sep 17 00:00:00 2001 From: Frank Tang Date: Wed, 15 May 2019 15:07:47 -0700 Subject: [PATCH] [Intl] Ship Intl.DateTimeFormat#formatRange Design Doc: https://goo.gl/PGUQ1d Chrome Status: https://www.chromestatus.com/feature/5077134515109888 I2S: https://groups.google.com/a/chromium.org/d/msg/blink-dev/Nh-jMn8L8fQ/GQN6wQQVBQAJ I2I: https://groups.google.com/a/chromium.org/d/msg/blink-dev/WTAjjcXaraA/ZypbHTlEAQAJ Bug: v8:7729 Change-Id: Ib3277c6a01546fd56418615087df497058edb8ae Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1604068 Commit-Queue: Frank Tang Reviewed-by: Mathias Bynens Cr-Commit-Position: refs/heads/master@{#61580} --- src/flag-definitions.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/flag-definitions.h b/src/flag-definitions.h index 78e4f6ab39..96098f628b 100644 --- a/src/flag-definitions.h +++ b/src/flag-definitions.h @@ -227,7 +227,6 @@ DEFINE_IMPLICATION(harmony_import_meta, harmony_dynamic_import) #ifdef V8_INTL_SUPPORT #define HARMONY_STAGED(V) \ HARMONY_STAGED_BASE(V) \ - V(harmony_intl_date_format_range, "DateTimeFormat formatRange") \ V(harmony_intl_segmenter, "Intl.Segmenter") #else #define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V) @@ -248,9 +247,10 @@ DEFINE_IMPLICATION(harmony_import_meta, harmony_dynamic_import) V(harmony_promise_all_settled, "harmony Promise.allSettled") #ifdef V8_INTL_SUPPORT -#define HARMONY_SHIPPING(V) \ - HARMONY_SHIPPING_BASE(V) \ - V(harmony_intl_bigint, "BigInt.prototype.toLocaleString") \ +#define HARMONY_SHIPPING(V) \ + HARMONY_SHIPPING_BASE(V) \ + V(harmony_intl_bigint, "BigInt.prototype.toLocaleString") \ + V(harmony_intl_date_format_range, "DateTimeFormat formatRange") \ V(harmony_intl_datetime_style, "dateStyle timeStyle for DateTimeFormat") #else #define HARMONY_SHIPPING(V) HARMONY_SHIPPING_BASE(V)