diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-12-09 13:37:21 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2022-02-02 19:24:58 +0300 |
commit | 30c4e1d952509b17f1dfe005a203034fa71f1cef (patch) | |
tree | 6b9cc8fd36b3ea0e0d3bb1035dfddb4376bbea6b /tools | |
parent | aa7dc808f5242f2efdb4cd83ea62cd8c921328d0 (diff) |
tools: update V8 gypfiles for 9.8
PR-URL: https://github.com/nodejs/node/pull/41610
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/v8_gypfiles/features.gypi | 11 | ||||
-rw-r--r-- | tools/v8_gypfiles/toolchain.gypi | 1 | ||||
-rw-r--r-- | tools/v8_gypfiles/v8.gyp | 8 |
3 files changed, 7 insertions, 13 deletions
diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 95c39c27ee5..2a2798156ff 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -151,9 +151,6 @@ # into relaxed atomic operations. 'v8_enable_atomic_object_field_writes%': 1, - # Sets -dV8_ATOMIC_MARKING_STATE - 'v8_enable_atomic_marking_state%': 1, - # Has no effect in Node.js. Here for completeness with V8's config. 'v8_enable_concurrent_marking%': 1, @@ -236,6 +233,8 @@ 'v8_scriptormodule_legacy_lifetime%': 1, + 'v8_include_receiver_in_argc%': 1, + # Variables from v8.gni # Enable ECMAScript Internationalization API. Enabling this feature will @@ -358,9 +357,6 @@ ['v8_enable_atomic_object_field_writes==1', { 'defines': ['V8_ATOMIC_OBJECT_FIELD_WRITES',], }], - ['v8_enable_atomic_marking_state==1', { - 'defines': ['V8_ATOMIC_MARKING_STATE',], - }], ['v8_enable_lazy_source_positions==1', { 'defines': ['V8_ENABLE_LAZY_SOURCE_POSITIONS',], }], @@ -412,6 +408,9 @@ ['v8_advanced_bigint_algorithms==1', { 'defines': ['V8_ADVANCED_BIGINT_ALGORITHMS',], }], + ['v8_include_receiver_in_argc==1', { + 'defines': ['V8_INCLUDE_RECEIVER_IN_ARGC',], + }], ], # conditions 'defines': [ 'V8_GYP_BUILD', diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi index d66672d43f1..fffad4ca16f 100644 --- a/tools/v8_gypfiles/toolchain.gypi +++ b/tools/v8_gypfiles/toolchain.gypi @@ -978,6 +978,7 @@ 'defines': [ 'WIN32', 'NOMINMAX', # Refs: https://chromium-review.googlesource.com/c/v8/v8/+/1456620 + '_WIN32_WINNT=0x0602', # Windows 8 ], # 4351: VS 2005 and later are warning us that they've fixed a bug # present in VS 2003 and earlier. diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 0ba58b8d14a..413cfd4866e 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -87,11 +87,11 @@ "<(SHARED_INTERMEDIATE_DIR)/torque-generated/exported-macros-assembler.h", "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.cc", "<(SHARED_INTERMEDIATE_DIR)/torque-generated/factory.inc", - "<(SHARED_INTERMEDIATE_DIR)/torque-generated/field-offsets.h", "<(SHARED_INTERMEDIATE_DIR)/torque-generated/instance-types.h", "<(SHARED_INTERMEDIATE_DIR)/torque-generated/interface-descriptors.inc", "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-body-descriptors-inl.inc", "<(SHARED_INTERMEDIATE_DIR)/torque-generated/objects-printer.cc", + "<(SHARED_INTERMEDIATE_DIR)/torque-generated/visitor-lists.h", '<@(torque_outputs_csa_cc)', '<@(torque_outputs_csa_h)', '<@(torque_outputs_inl_inc)', @@ -1135,11 +1135,6 @@ '<(V8_ROOT)/src/base/platform/platform-win32.cc', '<(V8_ROOT)/src/base/win32-headers.h', ], - 'conditions': [ - ['target_arch == "arm64"', { - 'defines': ['_WIN32_WINNT=0x0602'], # For GetCurrentThreadStackLimits on Windows on Arm - }], - ], 'defines': ['_CRT_RAND_S'], # for rand_s() 'direct_dependent_settings': { 'msvs_settings': { @@ -1733,7 +1728,6 @@ 'is_ubsan_vptr=0', 'target_cpu=<(target_arch)', 'v8_current_cpu=<(v8_current_cpu)', - 'v8_enable_atomic_marking_state=<(v8_enable_atomic_marking_state)', 'v8_enable_atomic_object_field_writes=<(v8_enable_atomic_object_field_writes)', 'v8_enable_concurrent_marking=<(v8_enable_concurrent_marking)', 'v8_enable_i18n_support=<(v8_enable_i18n_support)', |