Skip to content

Commit cf028df

Browse files
targosdanielleadams
authored andcommitted
build: fix V8 build with pointer compression
Refs: nodejs/TSC#790 (comment) PR-URL: #39664 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Mary Marchini <[email protected]>
1 parent 9f5acfa commit cf028df

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

common.gypi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,10 @@
356356
],
357357
}],
358358
['v8_enable_pointer_compression == 1', {
359-
'defines': ['V8_COMPRESS_POINTERS'],
359+
'defines': [
360+
'V8_COMPRESS_POINTERS',
361+
'V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE',
362+
],
360363
}],
361364
['v8_enable_pointer_compression == 1 or v8_enable_31bit_smis_on_64bit_arch == 1', {
362365
'defines': ['V8_31BIT_SMIS_ON_64BIT_ARCH'],

tools/v8_gypfiles/features.gypi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,10 @@
261261
'defines': ['ENABLE_MINOR_MC',],
262262
}],
263263
['v8_enable_pointer_compression==1', {
264-
'defines': ['V8_COMPRESS_POINTERS',],
264+
'defines': [
265+
'V8_COMPRESS_POINTERS',
266+
'V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE',
267+
],
265268
}],
266269
['v8_enable_pointer_compression==1 or v8_enable_31bit_smis_on_64bit_arch==1', {
267270
'defines': ['V8_31BIT_SMIS_ON_64BIT_ARCH',],

0 commit comments

Comments
 (0)