Skip to content

Commit 77e8e5c

Browse files
committed
build: enable V8 undefined double support
Enable V8_ENABLE_UNDEFINED_DOUBLE in the V8 GYP configuration, matching the setting added on main by 8394db3. This is a candidate for the repeated wrong-map deoptimizations in big.js reported in #66717. Preserve the existing v26 GYP settings and apply only the undefined double feature configuration. Refs: 8394db3 Refs: #66717 Signed-off-by: inoway46 <inoueyuya416@gmail.com> Assisted-by: Codex
1 parent f88c2f8 commit 77e8e5c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎tools/v8_gypfiles/features.gypi‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@
294294
# ReadOnlySpace.
295295
'v8_enable_extensible_ro_snapshot%': 1,
296296

297+
# Use the encoding of undefined in double values.
298+
'v8_enable_undefined_double%': 1,
299+
297300
# Variables from v8.gni
298301

299302
# Enable ECMAScript Internationalization API. Enabling this feature will
@@ -524,6 +527,9 @@
524527
['v8_enable_extensible_ro_snapshot==1', {
525528
'defines': ['V8_ENABLE_EXTENSIBLE_RO_SNAPSHOT',],
526529
}],
530+
['v8_enable_undefined_double==1', {
531+
'defines': ['V8_ENABLE_UNDEFINED_DOUBLE',],
532+
}],
527533
['v8_enable_leaptiering==1', {
528534
'defines': ['V8_ENABLE_LEAPTIERING',],
529535
}],

0 commit comments

Comments
 (0)