From 16765023182486725b8cd9781c18d373de66df28 Mon Sep 17 00:00:00 2001 From: Michaël Zasso Date: Mon, 19 Aug 2019 09:59:02 +0200 Subject: tools: update V8 gypfiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit until c6196ad7a2d601a4e1fdb313bfe2ec727fd67f7a Co-authored-by: Ujjwal Sharma Co-authored-by: Michaël Zasso PR-URL: https://github.com/nodejs/node/pull/29694 Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: Gus Caplan Reviewed-By: Jiawen Geng Reviewed-By: Michaël Zasso Reviewed-By: Tobias Nießen Reviewed-By: Ujjwal Sharma --- tools/v8_gypfiles/features.gypi | 29 ++++++++++++++++++++++++++++- tools/v8_gypfiles/v8.gyp | 7 +++++++ 2 files changed, 35 insertions(+), 1 deletion(-) 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', -- cgit v1.2.3