Skip to content

Commit a9c04ea

Browse files
codebyteremarco-ippolito
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 6bafe8a commit a9c04ea

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common.gypi

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
['target_arch in "arm ia32 mips mipsel ppc"', {
116116
'v8_enable_pointer_compression': 0,
117117
'v8_enable_31bit_smis_on_64bit_arch': 0,
118+
'v8_enable_sandbox': 0
118119
}],
119120
['target_arch in "ppc64 s390x"', {
120121
'v8_enable_backtrace': 1,

configure.py

+1
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,7 @@ def configure_v8(o):
15721572
o['variables']['v8_use_siphash'] = 0 if options.without_siphash else 1
15731573
o['variables']['v8_enable_maglev'] = 1 if options.v8_enable_maglev else 0
15741574
o['variables']['v8_enable_pointer_compression'] = 1 if options.enable_pointer_compression else 0
1575+
o['variables']['v8_enable_sandbox'] = 1 if options.enable_pointer_compression else 0
15751576
o['variables']['v8_enable_31bit_smis_on_64bit_arch'] = 1 if options.enable_pointer_compression else 0
15761577
o['variables']['v8_enable_shared_ro_heap'] = 0 if options.enable_pointer_compression or options.disable_shared_ro_heap else 1
15771578
o['variables']['v8_enable_extensible_ro_snapshot'] = 0

0 commit comments

Comments
 (0)