Skip to content

Commit 6a17aec

Browse files
targosMylesBorins
authored andcommitted
tools: update V8 gypfiles
until c6196ad7a2d601a4e1fdb313bfe2ec727fd67f7a Co-authored-by: Ujjwal Sharma <[email protected]> Co-authored-by: Michaël Zasso <[email protected]> Backport-PR-URL: #30109 PR-URL: #29694 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
1 parent 35ce2f6 commit 6a17aec

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

tools/v8_gypfiles/features.gypi

+28-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
# Enable embedded builtins.
113113
'v8_enable_embedded_builtins%': 1,
114114

115-
# Enable the registration of unwinding info for Windows/x64.
115+
# Enable the registration of unwinding info for Windows/x64 and ARM64.
116116
'v8_win64_unwinding_info%': 1,
117117

118118
# Enable code comments for builtins in the snapshot (impacts performance).
@@ -181,6 +181,21 @@
181181
# Enable minor mark compact.
182182
'v8_enable_minor_mc%': 1,
183183

184+
# Enable lazy source positions by default.
185+
'v8_enable_lazy_source_positions%': 1,
186+
187+
# Disable write barriers when GCs are non-incremental and
188+
# heap has single generation.
189+
'v8_disable_write_barriers%': 0,
190+
191+
# Redirect allocation in young generation so that there will be
192+
# only one single generation.
193+
'v8_enable_single_generation%': 0,
194+
195+
# Use token threaded dispatch for the regular expression interpreter.
196+
# Use switch-based dispatch if this is false.
197+
'v8_enable_regexp_interpreter_threaded_dispatch%': 1,
198+
184199
# Variables from v8.gni
185200

186201
# Enable the snapshot feature, for fast context creation.
@@ -280,9 +295,18 @@
280295
}],
281296
],
282297
}],
298+
['v8_enable_single_generation==1', {
299+
'defines': ['V8_ENABLE_SINGLE_GENERATION',],
300+
}],
301+
['v8_disable_write_barriers==1', {
302+
'defines': ['V8_DISABLE_WRITE_BARRIERS',],
303+
}],
283304
['v8_enable_concurrent_marking==1', {
284305
'defines': ['V8_CONCURRENT_MARKING',],
285306
}],
307+
['v8_enable_lazy_source_positions==1', {
308+
'defines': ['V8_ENABLE_LAZY_SOURCE_POSITIONS',],
309+
}],
286310
['v8_check_microtasks_scopes_consistency==1', {
287311
'defines': ['V8_CHECK_MICROTASKS_SCOPES_CONSISTENCY',],
288312
}],
@@ -307,6 +331,9 @@
307331
['v8_win64_unwinding_info==1', {
308332
'defines': ['V8_WIN64_UNWINDING_INFO',],
309333
}],
334+
['v8_enable_regexp_interpreter_threaded_dispatch==1', {
335+
'defines': ['V8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH',],
336+
}],
310337
], # conditions
311338
'defines': [
312339
'V8_GYP_BUILD',

tools/v8_gypfiles/v8.gyp

+7
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,21 @@
5959
"<(V8_ROOT)/src/builtins/proxy-set-prototype-of.tq",
6060
"<(V8_ROOT)/src/builtins/proxy.tq",
6161
"<(V8_ROOT)/src/builtins/reflect.tq",
62+
"<(V8_ROOT)/src/builtins/regexp-match.tq",
6263
"<(V8_ROOT)/src/builtins/regexp-replace.tq",
64+
"<(V8_ROOT)/src/builtins/regexp-source.tq",
65+
"<(V8_ROOT)/src/builtins/regexp-test.tq",
6366
"<(V8_ROOT)/src/builtins/regexp.tq",
6467
"<(V8_ROOT)/src/builtins/string.tq",
6568
"<(V8_ROOT)/src/builtins/string-endswith.tq",
6669
"<(V8_ROOT)/src/builtins/string-html.tq",
6770
"<(V8_ROOT)/src/builtins/string-iterator.tq",
71+
"<(V8_ROOT)/src/builtins/string-pad.tq",
6872
"<(V8_ROOT)/src/builtins/string-repeat.tq",
6973
"<(V8_ROOT)/src/builtins/string-slice.tq",
7074
"<(V8_ROOT)/src/builtins/string-startswith.tq",
7175
"<(V8_ROOT)/src/builtins/string-substring.tq",
76+
"<(V8_ROOT)/src/builtins/torque-internal.tq",
7277
"<(V8_ROOT)/src/builtins/typed-array-createtypedarray.tq",
7378
"<(V8_ROOT)/src/builtins/typed-array-every.tq",
7479
"<(V8_ROOT)/src/builtins/typed-array-filter.tq",
@@ -140,6 +145,8 @@
140145
'<(torque_output_root)/torque-generated/class-definitions-tq.cc',
141146
'<(torque_output_root)/torque-generated/class-definitions-tq-inl.h',
142147
'<(torque_output_root)/torque-generated/class-definitions-tq.h',
148+
'<(torque_output_root)/torque-generated/class-debug-readers-tq.cc',
149+
'<(torque_output_root)/torque-generated/class-debug-readers-tq.h',
143150
'<(torque_output_root)/torque-generated/exported-macros-assembler-tq.cc',
144151
'<(torque_output_root)/torque-generated/exported-macros-assembler-tq.h',
145152
'<(torque_output_root)/torque-generated/csa-types-tq.h',

0 commit comments

Comments
 (0)