diff --git a/common.gypi b/common.gypi index 88764c8f6b75a8..4e1f4fb24e454b 100644 --- a/common.gypi +++ b/common.gypi @@ -356,7 +356,10 @@ ], }], ['v8_enable_pointer_compression == 1', { - 'defines': ['V8_COMPRESS_POINTERS'], + 'defines': [ + 'V8_COMPRESS_POINTERS', + 'V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE', + ], }], ['v8_enable_pointer_compression == 1 or v8_enable_31bit_smis_on_64bit_arch == 1', { 'defines': ['V8_31BIT_SMIS_ON_64BIT_ARCH'], diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 68da6ef3378904..6bb08bcebeca91 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -261,7 +261,10 @@ 'defines': ['ENABLE_MINOR_MC',], }], ['v8_enable_pointer_compression==1', { - 'defines': ['V8_COMPRESS_POINTERS',], + 'defines': [ + 'V8_COMPRESS_POINTERS', + 'V8_COMPRESS_POINTERS_IN_ISOLATE_CAGE', + ], }], ['v8_enable_pointer_compression==1 or v8_enable_31bit_smis_on_64bit_arch==1', { 'defines': ['V8_31BIT_SMIS_ON_64BIT_ARCH',],