diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi index 0bf16e59d52be6..602d6063f36173 100644 --- a/tools/v8_gypfiles/features.gypi +++ b/tools/v8_gypfiles/features.gypi @@ -112,7 +112,7 @@ # Enable embedded builtins. 'v8_enable_embedded_builtins%': 1, - # Enable the registration of unwinding info for Windows/x64. + # Enable the registration of unwinding info for Windows/x64 and ARM64. 'v8_win64_unwinding_info%': 1, # Enable code comments for builtins in the snapshot (impacts performance). @@ -181,6 +181,21 @@ # Enable minor mark compact. 'v8_enable_minor_mc%': 1, + # Enable lazy source positions by default. + 'v8_enable_lazy_source_positions%': 1, + + # Disable write barriers when GCs are non-incremental and + # heap has single generation. + 'v8_disable_write_barriers%': 0, + + # Redirect allocation in young generation so that there will be + # only one single generation. + 'v8_enable_single_generation%': 0, + + # Use token threaded dispatch for the regular expression interpreter. + # Use switch-based dispatch if this is false. + 'v8_enable_regexp_interpreter_threaded_dispatch%': 1, + # Variables from v8.gni # Enable the snapshot feature, for fast context creation. @@ -280,9 +295,18 @@ }], ], }], + ['v8_enable_single_generation==1', { + 'defines': ['V8_ENABLE_SINGLE_GENERATION',], + }], + ['v8_disable_write_barriers==1', { + 'defines': ['V8_DISABLE_WRITE_BARRIERS',], + }], ['v8_enable_concurrent_marking==1', { 'defines': ['V8_CONCURRENT_MARKING',], }], + ['v8_enable_lazy_source_positions==1', { + 'defines': ['V8_ENABLE_LAZY_SOURCE_POSITIONS',], + }], ['v8_check_microtasks_scopes_consistency==1', { 'defines': ['V8_CHECK_MICROTASKS_SCOPES_CONSISTENCY',], }], @@ -307,6 +331,9 @@ ['v8_win64_unwinding_info==1', { 'defines': ['V8_WIN64_UNWINDING_INFO',], }], + ['v8_enable_regexp_interpreter_threaded_dispatch==1', { + 'defines': ['V8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH',], + }], ], # conditions 'defines': [ 'V8_GYP_BUILD', diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 70448202e32cb1..b64df82fa38253 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -59,16 +59,21 @@ "<(V8_ROOT)/src/builtins/proxy-set-prototype-of.tq", "<(V8_ROOT)/src/builtins/proxy.tq", "<(V8_ROOT)/src/builtins/reflect.tq", + "<(V8_ROOT)/src/builtins/regexp-match.tq", "<(V8_ROOT)/src/builtins/regexp-replace.tq", + "<(V8_ROOT)/src/builtins/regexp-source.tq", + "<(V8_ROOT)/src/builtins/regexp-test.tq", "<(V8_ROOT)/src/builtins/regexp.tq", "<(V8_ROOT)/src/builtins/string.tq", "<(V8_ROOT)/src/builtins/string-endswith.tq", "<(V8_ROOT)/src/builtins/string-html.tq", "<(V8_ROOT)/src/builtins/string-iterator.tq", + "<(V8_ROOT)/src/builtins/string-pad.tq", "<(V8_ROOT)/src/builtins/string-repeat.tq", "<(V8_ROOT)/src/builtins/string-slice.tq", "<(V8_ROOT)/src/builtins/string-startswith.tq", "<(V8_ROOT)/src/builtins/string-substring.tq", + "<(V8_ROOT)/src/builtins/torque-internal.tq", "<(V8_ROOT)/src/builtins/typed-array-createtypedarray.tq", "<(V8_ROOT)/src/builtins/typed-array-every.tq", "<(V8_ROOT)/src/builtins/typed-array-filter.tq", @@ -140,6 +145,8 @@ '<(torque_output_root)/torque-generated/class-definitions-tq.cc', '<(torque_output_root)/torque-generated/class-definitions-tq-inl.h', '<(torque_output_root)/torque-generated/class-definitions-tq.h', + '<(torque_output_root)/torque-generated/class-debug-readers-tq.cc', + '<(torque_output_root)/torque-generated/class-debug-readers-tq.h', '<(torque_output_root)/torque-generated/exported-macros-assembler-tq.cc', '<(torque_output_root)/torque-generated/exported-macros-assembler-tq.h', '<(torque_output_root)/torque-generated/csa-types-tq.h',