diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 95c39c27ee5a77..2a2798156ff028 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 d66672d43f12a7..fffad4ca16f412 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 0ba58b8d14a1d1..413cfd4866ec53 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)',