Skip to content

Commit 4581997

Browse files
zcbenzBethGriggs
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 7d550ad commit 4581997

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
@@ -108,6 +108,11 @@
108108
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
109109
'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a',
110110
}],
111+
# V8 pointer compression only supports 64bit architectures.
112+
['target_arch in "arm ia32 mips mipsel ppc x32"', {
113+
'v8_enable_pointer_compression': 0,
114+
'v8_enable_31bit_smis_on_64bit_arch': 0,
115+
}],
111116
['target_arch in "ppc64 s390x"', {
112117
'v8_enable_backtrace': 1,
113118
}],

0 commit comments

Comments
 (0)