diff options
author | daomingq <daoming.qiu@intel.com> | 2022-04-12 16:46:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 16:46:04 +0300 |
commit | aa528738871ba9ae83fc5dc73754c5aa975777cb (patch) | |
tree | b8ab2caaf7aaa4fd68f32665fbdc9cd76cf5ef45 /tools | |
parent | db7fa9f4b797fc8e4a642d57136e7a6e22d6f9c2 (diff) |
build: add configure option --v8-enable-short-builtin-calls
Add configure option --v8-enable-short-builtin-calls
and enable it by default on x86_64 platform.
PR-URL: https://github.com/nodejs/node/pull/42109
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/v8_gypfiles/features.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 2a2798156ff..93162f53348 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -132,6 +132,9 @@ 'v8_enable_pointer_compression%': 0, 'v8_enable_31bit_smis_on_64bit_arch%': 0, + # Sets -dV8_SHORT_BUILTIN_CALLS + 'v8_enable_short_builtin_calls%': 0, + # Sets -dOBJECT_PRINT. 'v8_enable_object_print%': 0, @@ -294,6 +297,9 @@ ['v8_enable_pointer_compression==1 or v8_enable_31bit_smis_on_64bit_arch==1', { 'defines': ['V8_31BIT_SMIS_ON_64BIT_ARCH',], }], + ['v8_enable_short_builtin_calls==1', { + 'defines': ['V8_SHORT_BUILTIN_CALLS',], + }], ['v8_enable_zone_compression==1', { 'defines': ['V8_COMPRESS_ZONES',], }], |