Skip to content

Commit 9f46fca

Browse files
zcbenztargos
authored andcommitted
build: disable v8 pointer compression on 32bit archs
PR-URL: #40418 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Stewart X Addison <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent a95e344 commit 9f46fca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common.gypi

+5
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@
9999
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
100100
'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a',
101101
}],
102+
# V8 pointer compression only supports 64bit architectures.
103+
['target_arch in "arm ia32 mips mipsel ppc x32"', {
104+
'v8_enable_pointer_compression': 0,
105+
'v8_enable_31bit_smis_on_64bit_arch': 0,
106+
}],
102107
['target_arch in "ppc64 s390x"', {
103108
'v8_enable_backtrace': 1,
104109
}],

0 commit comments

Comments
 (0)