[intl] Stage Locale Info

Spec: https://tc39.es/proposal-intl-locale-info/
Design Doc: https://docs.google.com/document/d/1OwEsvs8VQwvR-ug01xLyIwpgcvUfaP24u9owc7aBKJ4/edit#
https://www.chromestatus.com/feature/5566859262820352

Behind flag --harmony_intl_locale_info

Bug: v8:11638
Change-Id: I9904b777b084aa02c86a258c7df48fdfb976396d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2878908
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74487}
This commit is contained in:
Frank Tang 2021-05-06 23:13:11 -07:00 committed by V8 LUCI CQ
parent 499f169be3
commit 3f5ff1fb4a

View File

@ -278,10 +278,9 @@ DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
"harmony ResizableArrayBuffer / GrowableSharedArrayBuffer")
#ifdef V8_INTL_SUPPORT
#define HARMONY_INPROGRESS(V) \
HARMONY_INPROGRESS_BASE(V) \
V(harmony_intl_displaynames_date_types, "Intl.DisplayNames date types") \
V(harmony_intl_locale_info, "Intl locale info")
#define HARMONY_INPROGRESS(V) \
HARMONY_INPROGRESS_BASE(V) \
V(harmony_intl_displaynames_date_types, "Intl.DisplayNames date types")
#else
#define HARMONY_INPROGRESS(V) HARMONY_INPROGRESS_BASE(V)
#endif
@ -292,9 +291,10 @@ DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
V(harmony_error_cause, "harmony error cause property")
#ifdef V8_INTL_SUPPORT
#define HARMONY_STAGED(V) \
HARMONY_STAGED_BASE(V) \
V(harmony_intl_best_fit_matcher, "Intl BestFitMatcher")
#define HARMONY_STAGED(V) \
HARMONY_STAGED_BASE(V) \
V(harmony_intl_best_fit_matcher, "Intl BestFitMatcher") \
V(harmony_intl_locale_info, "Intl locale info")
#else
#define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V)
#endif