Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authordaomingq <daoming.qiu@intel.com>2022-04-12 16:46:04 +0300
committerGitHub <noreply@github.com>2022-04-12 16:46:04 +0300
commitaa528738871ba9ae83fc5dc73754c5aa975777cb (patch)
treeb8ab2caaf7aaa4fd68f32665fbdc9cd76cf5ef45 /tools
parentdb7fa9f4b797fc8e4a642d57136e7a6e22d6f9c2 (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.gypi6
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',],
}],