Skip to content

Commit ee97c04

Browse files
codebytereRafaelGSS
authored andcommitted
build: ensure v8_pointer_compression_sandbox is enabled on 64bit
PR-URL: #53884 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent 2d77bd2 commit ee97c04

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
['target_arch in "arm ia32 mips mipsel ppc"', {
114114
'v8_enable_pointer_compression': 0,
115115
'v8_enable_31bit_smis_on_64bit_arch': 0,
116+
'v8_enable_sandbox': 0
116117
}],
117118
['target_arch in "ppc64 s390x"', {
118119
'v8_enable_backtrace': 1,

configure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,7 @@ def configure_v8(o, configs):
16401640
o['variables']['v8_enable_maglev'] = B(not options.v8_disable_maglev and
16411641
o['variables']['target_arch'] in maglev_enabled_architectures)
16421642
o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0
1643+
o['variables']['v8_enable_sandbox'] = 1 if options.enable_pointer_compression else 0
16431644
o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
16441645
o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1
16451646
o['variables']['v8_enable_extensible_ro_snapshot'] = 0

0 commit comments

Comments
 (0)