Skip to content

Commit b4ccfdf

Browse files
Josh WolfeCommit Bot
authored andcommitted
[intl] ship --harmony-number-format-to-parts
R=littledan@chromium.org, adamk@chromium.org Bug: v8:5244 Change-Id: I1186601bc05bd5348acb4b0e1242d7d074020ad9 Reviewed-on: https://chromium-review.googlesource.com/757564 Reviewed-by: Adam Klein <adamk@chromium.org> Reviewed-by: Daniel Ehrenberg <littledan@chromium.org> Commit-Queue: Josh Wolfe <jwolfe@igalia.com> Cr-Commit-Position: refs/heads/master@{#49308}
1 parent 92e3975 commit b4ccfdf

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

src/flag-definitions.h

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -201,23 +201,13 @@ DEFINE_IMPLICATION(harmony_import_meta, harmony_dynamic_import)
201201
V(harmony_bigint, "harmony arbitrary precision integers")
202202

203203
// Features that are complete (but still behind --harmony/es-staging flag).
204-
#define HARMONY_STAGED_BASE(V) \
204+
#define HARMONY_STAGED(V) \
205205
V(harmony_function_tostring, "harmony Function.prototype.toString") \
206206
V(harmony_regexp_property, "harmony Unicode regexp property classes") \
207207
V(harmony_restrict_constructor_return, \
208208
"harmony disallow non undefined primitive return value from class " \
209209
"constructor") \
210-
V(harmony_dynamic_import, "harmony dynamic import") \
211-
212-
#ifdef V8_INTL_SUPPORT
213-
#define HARMONY_STAGED(V) \
214-
HARMONY_STAGED_BASE(V) \
215-
V(harmony_number_format_to_parts, \
216-
"Intl.NumberFormat.prototype." \
217-
"formatToParts")
218-
#else
219-
#define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V)
220-
#endif
210+
V(harmony_dynamic_import, "harmony dynamic import")
221211

222212
// Features that are shipping (turned on by default, but internal flag remains).
223213
#define HARMONY_SHIPPING_BASE(V) \
@@ -233,8 +223,10 @@ DEFINE_IMPLICATION(harmony_import_meta, harmony_dynamic_import)
233223
V(harmony_promise_finally, "harmony Promise.prototype.finally")
234224

235225
#ifdef V8_INTL_SUPPORT
236-
#define HARMONY_SHIPPING(V) \
237-
HARMONY_SHIPPING_BASE(V) \
226+
#define HARMONY_SHIPPING(V) \
227+
HARMONY_SHIPPING_BASE(V) \
228+
V(harmony_number_format_to_parts, \
229+
"Intl.NumberFormat.prototype.formatToParts") \
238230
V(harmony_plural_rules, "Intl.PluralRules")
239231
#else
240232
#define HARMONY_SHIPPING(V) HARMONY_SHIPPING_BASE(V)

0 commit comments

Comments
 (0)