Skip to content

Commit 86cb23d

Browse files
committed
tools: update V8 gypfiles for 11.8
PR-URL: #49639 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 9c6219c commit 86cb23d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

configure.py

+1
Original file line numberDiff line numberDiff line change
@@ -1498,6 +1498,7 @@ def configure_v8(o):
14981498
o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0
14991499
o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
15001500
o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1
1501+
o['variables']['v8_enable_extensible_ro_snapshot'] = 0
15011502
o['variables']['v8_trace_maps'] = 1 if options.trace_maps else 0
15021503
o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform)
15031504
o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8)

tools/v8_gypfiles/features.gypi

+7
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@
280280
# Sets -DV8_USE_ZLIB
281281
'v8_use_zlib%': 1,
282282

283+
# Whether custom embedder snapshots may extend (= allocate new objects in)
284+
# ReadOnlySpace.
285+
'v8_enable_extensible_ro_snapshot%': 1,
286+
283287
# Variables from v8.gni
284288

285289
# Enable ECMAScript Internationalization API. Enabling this feature will
@@ -460,6 +464,9 @@
460464
['v8_use_zlib==1', {
461465
'defines': ['V8_USE_ZLIB',],
462466
}],
467+
['v8_enable_extensible_ro_snapshot==1', {
468+
'defines': ['V8_ENABLE_EXTENSIBLE_RO_SNAPSHOT',],
469+
}],
463470
['v8_enable_precise_zone_stats==1', {
464471
'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',],
465472
}],

0 commit comments

Comments
 (0)