summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-08-19 09:59:02 +0200
committerMyles Borins <myles.borins@gmail.com>2019-10-07 03:19:58 -0400
commit16765023182486725b8cd9781c18d373de66df28 (patch)
tree38366a6a9fc0438ed3ac002a7d268643f475309c /tools
parentd8c77d5589bde330bf9638aa56ce7e6d092e33c7 (diff)
downloadandroid-node-v8-16765023182486725b8cd9781c18d373de66df28.tar.gz
android-node-v8-16765023182486725b8cd9781c18d373de66df28.tar.bz2
android-node-v8-16765023182486725b8cd9781c18d373de66df28.zip
tools: update V8 gypfiles
until c6196ad7a2d601a4e1fdb313bfe2ec727fd67f7a Co-authored-by: Ujjwal Sharma <usharma1998@gmail.com> Co-authored-by: Michaël Zasso <targos@protonmail.com> PR-URL: https://github.com/nodejs/node/pull/29694 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/v8_gypfiles/features.gypi29
-rw-r--r--tools/v8_gypfiles/v8.gyp7
2 files changed, 35 insertions, 1 deletions
diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi
index 0bf16e59d5..602d6063f3 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 a506a67dba..0ecfc7e945 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",
@@ -133,6 +138,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',