From cefb8029cd43db87077384b36f3a9bd6d4555dad Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Fri, 30 Nov 2018 23:48:42 +0530 Subject: [PATCH] deps: sync V8 gypfiles with 7.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michaƫl Zasso Co-authored-by: Refael Ackermann Co-authored-by: Colin Ihrig PR-URL: https://github.com/nodejs/node/pull/25852 Reviewed-By: Ujjwal Sharma Reviewed-By: Matteo Collina Reviewed-By: Ali Ijaz Sheikh --- common.gypi | 3 - deps/v8/gypfiles/d8.gyp | 42 +---- deps/v8/gypfiles/features.gypi | 33 ++-- deps/v8/gypfiles/inspector.gypi | 2 +- deps/v8/gypfiles/v8-monolithic.gyp | 1 - deps/v8/gypfiles/v8.gyp | 199 ++++++++------------- deps/v8/gypfiles/v8_external_snapshot.gypi | 1 - 7 files changed, 92 insertions(+), 189 deletions(-) diff --git a/common.gypi b/common.gypi index c16db57a5e7438..3b99d4a36e91d4 100644 --- a/common.gypi +++ b/common.gypi @@ -71,9 +71,6 @@ # Still WIP in V8 7.1 'v8_enable_pointer_compression': 'false', - # Explicitly set to false to copy V8's default - 'v8_enable_31bit_smis_on_64bit_arch': 'false', - # New in V8 7.1 'v8_enable_embedded_builtins': 'true', diff --git a/deps/v8/gypfiles/d8.gyp b/deps/v8/gypfiles/d8.gyp index aa1a631d23fcf1..7870b6741fcb0a 100644 --- a/deps/v8/gypfiles/d8.gyp +++ b/deps/v8/gypfiles/d8.gyp @@ -26,11 +26,11 @@ '<(SHARED_INTERMEDIATE_DIR)', ], 'sources': [ - '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', '../src/async-hooks-wrapper.cc', '../src/async-hooks-wrapper.h', '../src/d8-console.cc', '../src/d8-console.h', + '../src/d8-js.cc', '../src/d8-platforms.cc', '../src/d8-platforms.h', '../src/d8.cc', @@ -42,10 +42,6 @@ 'dependencies': [ 'd8_js2c#host', ], - }, { - 'dependencies': [ - 'd8_js2c', - ], }], ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ or OS=="openbsd" or OS=="solaris" or OS=="android" \ @@ -84,41 +80,5 @@ }], ], }, - { - 'target_name': 'd8_js2c', - 'type': 'none', - 'variables': { - 'js_files': [ - '../src/d8.js', - '../src/js/macros.py', - ], - }, - 'conditions': [ - [ 'want_separate_host_toolset==1', { - 'toolsets': ['host'], - }, { - 'toolsets': ['target'], - }] - ], - 'actions': [ - { - 'action_name': 'd8_js2c', - 'inputs': [ - '../tools/js2c.py', - '<@(js_files)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', - ], - 'action': [ - 'python', - '../tools/js2c.py', - '<@(_outputs)', - 'D8', - '<@(js_files)' - ], - }, - ], - }, ], } diff --git a/deps/v8/gypfiles/features.gypi b/deps/v8/gypfiles/features.gypi index 48e51a76e2121b..485a135aa1a5e9 100644 --- a/deps/v8/gypfiles/features.gypi +++ b/deps/v8/gypfiles/features.gypi @@ -51,11 +51,6 @@ 'v8_enable_gdbjit%': 0, - # Build-time flag for enabling nojit mode. - # TODO(v8:7777): Remove the build-time flag once the --jitless runtime flag - # does everything we need. - 'v8_enable_jitless_mode%': 0, - # Enable code-generation-time checking of types in the CodeStubAssembler. 'v8_enable_verify_csa%': 0, @@ -81,6 +76,9 @@ # tools/gen-postmortem-metadata.py for details. 'v8_postmortem_support%': 'false', + # Use Siphash as added protection against hash flooding attacks. + 'v8_use_siphash%': 'false', + # Interpreted regexp engine exists as platform-independent alternative # based where the regular expression is compiled to a bytecode. 'v8_interpreted_regexp%': 0, @@ -121,23 +119,16 @@ #'v8_enable_handle_zapping%': 0, 'v8_enable_pointer_compression%': 'false', - 'v8_enable_31bit_smis_on_64bit_arch%': 'false', 'v8_enable_embedded_builtins%': 'true', + # Enable code comments for builtins in the snapshot (impacts performance). + 'v8_enable_snapshot_code_comments%': 'false', + 'v8_enable_fast_mksnapshot%': 0, }, - 'conditions': [ - # V8's predicate inverted since we default to 'true' and set 'false' for unsupported cases. - # !is_aix - ['not (OS!="aix")', { - 'variables': { - 'v8_enable_embedded_builtins': 'false', - } - }], - ], 'target_defaults': { 'conditions': [ ['v8_embedder_string!=""', { @@ -150,7 +141,12 @@ 'defines': ['V8_PROMISE_INTERNAL_FIELD_COUNT=<(v8_promise_internal_field_count)'], }], ['v8_enable_lite_mode==1', { - 'defines': ['V8_LITE_MODE',], + 'defines': [ + 'V8_LITE_MODE', + + # TODO(v8:7777): Remove the define once the --jitless runtime flag does everything we need. + 'V8_JITLESS_MODE', + ], }], ['v8_enable_gdbjit==1', { 'defines': ['ENABLE_GDB_JIT_INTERFACE',], @@ -173,7 +169,7 @@ ['v8_enable_verify_predictable==1', { 'defines': ['VERIFY_PREDICTABLE',], }], - ['v8_interpreted_regexp==1', { + ['v8_interpreted_regexp==1 or v8_enable_lite_mode==1', { 'defines': ['V8_INTERPRETED_REGEXP',], }], ['v8_deprecation_warnings==1', { @@ -222,9 +218,6 @@ 'V8_EMBEDDED_BUILTINS', ], }], - ['v8_enable_jitless_mode==1', { - 'defines': ['V8_JITLESS_MODE',], - }], ], # conditions 'defines': [ 'V8_GYP_BUILD', diff --git a/deps/v8/gypfiles/inspector.gypi b/deps/v8/gypfiles/inspector.gypi index 840c092efe3976..25d5adf5c2f113 100644 --- a/deps/v8/gypfiles/inspector.gypi +++ b/deps/v8/gypfiles/inspector.gypi @@ -116,7 +116,7 @@ 'process_outputs_as_sources': 1, 'action': [ 'python', - '<(protocol_path)/CodeGenerator.py', + '<(protocol_path)/code_generator.py', '--jinja_dir', '../third_party', '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/inspector', '--config', '<(inspector_path)/inspector_protocol_config.json', diff --git a/deps/v8/gypfiles/v8-monolithic.gyp b/deps/v8/gypfiles/v8-monolithic.gyp index b46b4ce678a058..4ca6b7f193a8d7 100644 --- a/deps/v8/gypfiles/v8-monolithic.gyp +++ b/deps/v8/gypfiles/v8-monolithic.gyp @@ -9,7 +9,6 @@ 'v8_vector_stores%': 0, 'v8_embed_script%': "", 'v8_extra_library_files%': [], - 'v8_experimental_extra_library_files%': [], 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', 'v8_os_page_size%': 0, }, diff --git a/deps/v8/gypfiles/v8.gyp b/deps/v8/gypfiles/v8.gyp index df4f4ca542552c..b80851e2eee5e4 100644 --- a/deps/v8/gypfiles/v8.gyp +++ b/deps/v8/gypfiles/v8.gyp @@ -9,14 +9,16 @@ 'v8_vector_stores%': 0, 'v8_embed_script%': "", 'v8_extra_library_files%': [], - 'v8_experimental_extra_library_files%': [], 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', 'v8_os_page_size%': 0, 'generate_bytecode_builtins_list_output' : '<(SHARED_INTERMEDIATE_DIR)/builtins-generated/bytecodes-builtins-list.h', 'torque_files': [ "../src/builtins/base.tq", + "../src/builtins/frames.tq", + "../src/builtins/arguments.tq", "../src/builtins/array.tq", "../src/builtins/array-copywithin.tq", + "../src/builtins/array-filter.tq", "../src/builtins/array-foreach.tq", "../src/builtins/array-join.tq", "../src/builtins/array-lastindexof.tq", @@ -26,22 +28,25 @@ "../src/builtins/array-splice.tq", "../src/builtins/array-unshift.tq", "../src/builtins/collections.tq", - "../src/builtins/typed-array.tq", "../src/builtins/data-view.tq", + "../src/builtins/extras-utils.tq", "../src/builtins/object.tq", "../src/builtins/object-fromentries.tq", "../src/builtins/iterator.tq", "../src/builtins/typed-array.tq", + "../src/builtins/typed-array-createtypedarray.tq", "../third_party/v8/builtins/array-sort.tq", ], 'torque_namespaces': [ "base", + "arguments", "array", "collections", "iterator", "object", "typed-array", "data-view", + "extras-utils", ], # Since there is no foreach in GYP we manualy unroll the following: # foreach(namespace, torque_namespaces) { @@ -53,6 +58,8 @@ 'torque_outputs': [ '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.cc', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-base-from-dsl-gen.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-arguments-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-arguments-from-dsl-gen.h', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-array-from-dsl-gen.cc', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-array-from-dsl-gen.h', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-collections-from-dsl-gen.cc', @@ -65,6 +72,8 @@ '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.h', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.cc', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.h', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-extras-utils-from-dsl-gen.cc', + '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-extras-utils-from-dsl-gen.h', ], 'torque_generated_pure_headers': [ '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions-from-dsl.h', @@ -149,9 +158,9 @@ 'v8_use_snapshot=<(v8_use_snapshot)', 'v8_use_siphash=<(v8_use_siphash)', 'v8_enable_embedded_builtins=<(v8_enable_embedded_builtins)', - 'v8_enable_jitless_mode=<(v8_enable_jitless_mode)', 'v8_enable_verify_csa=<(v8_enable_verify_csa)', 'v8_enable_lite_mode=<(v8_enable_lite_mode)', + 'v8_enable_pointer_compression=<(v8_enable_pointer_compression)', ] }, 'conditions': [ @@ -187,7 +196,7 @@ # The dependency on v8_base should come from a transitive # dependency however the Android toolchain requires libv8_base.a # to appear before libv8_snapshot.a so it's listed explicitly. - 'dependencies': ['v8_base', 'v8_init', 'v8_snapshot'], + 'dependencies': ['v8_base', 'v8_snapshot'], }], ['v8_use_snapshot=="true" and v8_use_external_startup_data==1 and want_separate_host_toolset==0', { 'dependencies': ['v8_base', 'v8_external_snapshot'], @@ -261,6 +270,7 @@ '../src/builtins/builtins-async-gen.h', '../src/builtins/builtins-async-generator-gen.cc', '../src/builtins/builtins-async-iterator-gen.cc', + '../src/builtins/builtins-bigint-gen.cc', '../src/builtins/builtins-boolean-gen.cc', '../src/builtins/builtins-call-gen.cc', '../src/builtins/builtins-call-gen.h', @@ -414,7 +424,6 @@ 'toolsets': ['target'], 'dependencies': [ 'mksnapshot', - 'js2c', ], }], ['component=="shared_library"', { @@ -443,9 +452,7 @@ '<(DEPTH)', ], 'sources': [ - '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', - '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', '../src/setup-isolate-deserialize.cc', ], 'actions': [ @@ -496,6 +503,11 @@ 'mksnapshot_flags': [ '<(v8_embed_script)' ], }, }], + ['v8_enable_snapshot_code_comments == "true"', { + 'variables': { + 'mksnapshot_flags': [ '--code-comments' ], + }, + }], ], 'inputs': [ '<(mksnapshot_exec)', @@ -519,9 +531,7 @@ '<(DEPTH)', ], 'sources': [ - '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', '<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', - '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', '../src/snapshot/embedded-empty.cc', '../src/snapshot/snapshot-empty.cc', ], @@ -531,7 +541,6 @@ 'dependencies': ['js2c#host'], }, { 'toolsets': ['target'], - 'dependencies': ['js2c'], }], ['component=="shared_library"', { 'defines': [ @@ -616,7 +625,6 @@ '../src/asmjs/asm-scanner.h', '../src/asmjs/asm-types.cc', '../src/asmjs/asm-types.h', - '../src/assembler-arch-inl.h', '../src/assembler-arch.h', '../src/assembler-inl.h', '../src/assembler.cc', @@ -637,6 +645,8 @@ '../src/ast/prettyprinter.h', '../src/ast/scopes.cc', '../src/ast/scopes.h', + '../src/ast/source-range-ast-visitor.cc', + '../src/ast/source-range-ast-visitor.h', '../src/ast/variables.cc', '../src/ast/variables.h', '../src/bailout-reason.cc', @@ -667,16 +677,17 @@ '../src/builtins/builtins-definitions.h', '../src/builtins/builtins-descriptors.h', '../src/builtins/builtins-error.cc', + '../src/builtins/builtins-extras-utils.cc', '../src/builtins/builtins-function.cc', '../src/builtins/builtins-global.cc', '../src/builtins/builtins-internal.cc', - '../src/builtins/builtins-interpreter.cc', '../src/builtins/builtins-intl.cc', '../src/builtins/builtins-json.cc', '../src/builtins/builtins-math.cc', '../src/builtins/builtins-number.cc', '../src/builtins/builtins-object.cc', '../src/builtins/builtins-promise.cc', + '../src/builtins/builtins-promise.h', '../src/builtins/builtins-reflect.cc', '../src/builtins/builtins-regexp.cc', '../src/builtins/builtins-sharedarraybuffer.cc', @@ -700,17 +711,14 @@ '../src/char-predicates.cc', '../src/char-predicates.h', '../src/checks.h', + '../src/code-comments.cc', + '../src/code-comments.h', '../src/code-events.h', '../src/code-factory.cc', '../src/code-factory.h', '../src/code-reference.cc', '../src/code-reference.h', - '../src/code-stubs-utils.h', - '../src/code-stubs.cc', - '../src/code-stubs.h', '../src/code-tracer.h', - '../src/codegen.cc', - '../src/codegen.h', '../src/collector.h', '../src/compilation-cache.cc', '../src/compilation-cache.h', @@ -906,6 +914,8 @@ '../src/compiler/scheduler.h', '../src/compiler/select-lowering.cc', '../src/compiler/select-lowering.h', + '../src/compiler/serializer-for-background-compilation.cc', + '../src/compiler/serializer-for-background-compilation.h', '../src/compiler/simd-scalar-lowering.cc', '../src/compiler/simd-scalar-lowering.h', '../src/compiler/simplified-lowering.cc', @@ -948,6 +958,7 @@ '../src/counters-inl.h', '../src/counters.cc', '../src/counters.h', + '../src/cpu-features.h', '../src/date.cc', '../src/date.h', '../src/dateparser-inl.h', @@ -1208,7 +1219,6 @@ '../src/lookup-inl.h', '../src/lookup.cc', '../src/lookup.h', - '../src/lsan.h', '../src/machine-type.cc', '../src/machine-type.h', '../src/macro-assembler-inl.h', @@ -1219,6 +1229,8 @@ '../src/math-random.h', '../src/maybe-handles-inl.h', '../src/maybe-handles.h', + '../src/memcopy.cc', + '../src/memcopy.h', '../src/message-template.h', '../src/messages.cc', '../src/messages.h', @@ -1239,6 +1251,8 @@ '../src/objects/bigint.cc', '../src/objects/bigint.h', '../src/objects/builtin-function-id.h', + '../src/objects/cell-inl.h', + '../src/objects/cell.h', '../src/objects/code-inl.h', '../src/objects/code.h', '../src/objects/compilation-cache-inl.h', @@ -1246,19 +1260,25 @@ '../src/objects/debug-objects-inl.h', '../src/objects/debug-objects.cc', '../src/objects/debug-objects.h', + '../src/objects/descriptor-array-inl.h', '../src/objects/descriptor-array.h', + '../src/objects/dictionary-inl.h', '../src/objects/dictionary.h', '../src/objects/embedder-data-array-inl.h', '../src/objects/embedder-data-array.cc', '../src/objects/embedder-data-array.h', '../src/objects/embedder-data-slot-inl.h', '../src/objects/embedder-data-slot.h', + '../src/objects/feedback-cell-inl.h', + '../src/objects/feedback-cell.h', '../src/objects/fixed-array-inl.h', '../src/objects/fixed-array.h', '../src/objects/frame-array-inl.h', '../src/objects/frame-array.h', '../src/objects/hash-table-inl.h', '../src/objects/hash-table.h', + '../src/objects/heap-number-inl.h', + '../src/objects/heap-number.h', '../src/objects/heap-object-inl.h', '../src/objects/heap-object.h', '../src/objects/instance-type-inl.h', @@ -1334,6 +1354,8 @@ '../src/objects/name.h', '../src/objects/object-macros-undef.h', '../src/objects/object-macros.h', + '../src/objects/oddball-inl.h', + '../src/objects/oddball.h', '../src/objects/ordered-hash-table-inl.h', '../src/objects/ordered-hash-table.cc', '../src/objects/ordered-hash-table.h', @@ -1341,6 +1363,8 @@ '../src/objects/promise.h', '../src/objects/property-array-inl.h', '../src/objects/property-array.h', + '../src/objects/property-cell-inl.h', + '../src/objects/property-cell.h', '../src/objects/property-descriptor-object-inl.h', '../src/objects/property-descriptor-object.h', '../src/objects/prototype-info-inl.h', @@ -1358,8 +1382,11 @@ '../src/objects/stack-frame-info-inl.h', '../src/objects/stack-frame-info.h', '../src/objects/string-inl.h', + '../src/objects/string-table-inl.h', '../src/objects/string-table.h', '../src/objects/string.h', + '../src/objects/struct-inl.h', + '../src/objects/struct.h', '../src/objects/template-objects.cc', '../src/objects/template-objects.h', '../src/objects/templates-inl.h', @@ -1368,9 +1395,9 @@ '../src/optimized-compilation-info.h', '../src/ostreams.cc', '../src/ostreams.h', - '../src/parsing/expression-classifier.h', '../src/parsing/expression-scope-reparenter.cc', '../src/parsing/expression-scope-reparenter.h', + '../src/parsing/expression-scope.h', '../src/parsing/func-name-inferrer.cc', '../src/parsing/func-name-inferrer.h', '../src/parsing/parse-info.cc', @@ -1381,9 +1408,9 @@ '../src/parsing/parsing.cc', '../src/parsing/parsing.h', '../src/parsing/pattern-rewriter.cc', - '../src/parsing/preparsed-scope-data-impl.h', - '../src/parsing/preparsed-scope-data.cc', - '../src/parsing/preparsed-scope-data.h', + '../src/parsing/preparse-data-impl.h', + '../src/parsing/preparse-data.cc', + '../src/parsing/preparse-data.h', '../src/parsing/preparser-logger.h', '../src/parsing/preparser.cc', '../src/parsing/preparser.h', @@ -1433,6 +1460,7 @@ '../src/property.cc', '../src/property.h', '../src/prototype.h', + '../src/ptr-compr-inl.h', '../src/ptr-compr.h', '../src/regexp/bytecodes-irregexp.h', '../src/regexp/interpreter-irregexp.cc', @@ -1457,8 +1485,10 @@ '../src/regexp/regexp-stack.h', '../src/regexp/regexp-utils.cc', '../src/regexp/regexp-utils.h', + '../src/register-arch.h', '../src/register-configuration.cc', '../src/register-configuration.h', + '../src/register.h', '../src/reglist.h', '../src/reloc-info.cc', '../src/reloc-info.h', @@ -1635,6 +1665,7 @@ '../src/wasm/function-compiler.h', '../src/wasm/graph-builder-interface.cc', '../src/wasm/graph-builder-interface.h', + '../src/wasm/js-to-wasm-wrapper-cache-inl.h', '../src/wasm/jump-table-assembler.cc', '../src/wasm/jump-table-assembler.h', '../src/wasm/leb-helper.h', @@ -1646,6 +1677,8 @@ '../src/wasm/module-compiler.h', '../src/wasm/module-decoder.cc', '../src/wasm/module-decoder.h', + '../src/wasm/module-instantiate.cc', + '../src/wasm/module-instantiate.h', '../src/wasm/object-access.h', '../src/wasm/signature-map.cc', '../src/wasm/signature-map.h', @@ -1719,8 +1752,6 @@ '../src/ia32/assembler-ia32-inl.h', '../src/ia32/assembler-ia32.cc', '../src/ia32/assembler-ia32.h', - '../src/ia32/code-stubs-ia32.cc', - '../src/ia32/codegen-ia32.cc', '../src/ia32/constants-ia32.h', '../src/ia32/cpu-ia32.cc', '../src/ia32/deoptimizer-ia32.cc', @@ -1730,8 +1761,7 @@ '../src/ia32/interface-descriptors-ia32.cc', '../src/ia32/macro-assembler-ia32.cc', '../src/ia32/macro-assembler-ia32.h', - '../src/ia32/simulator-ia32.cc', - '../src/ia32/simulator-ia32.h', + '../src/ia32/register-ia32.h', '../src/ia32/sse-instr.h', '../src/regexp/ia32/regexp-macro-assembler-ia32.cc', '../src/regexp/ia32/regexp-macro-assembler-ia32.h', @@ -1754,8 +1784,6 @@ '../src/x64/assembler-x64-inl.h', '../src/x64/assembler-x64.cc', '../src/x64/assembler-x64.h', - '../src/x64/code-stubs-x64.cc', - '../src/x64/codegen-x64.cc', '../src/x64/constants-x64.h', '../src/x64/cpu-x64.cc', '../src/x64/deoptimizer-x64.cc', @@ -1766,8 +1794,7 @@ '../src/x64/interface-descriptors-x64.cc', '../src/x64/macro-assembler-x64.cc', '../src/x64/macro-assembler-x64.h', - '../src/x64/simulator-x64.cc', - '../src/x64/simulator-x64.h', + '../src/x64/register-x64.h', '../src/x64/sse-instr.h', ], }], @@ -1790,9 +1817,6 @@ '../src/arm/assembler-arm-inl.h', '../src/arm/assembler-arm.cc', '../src/arm/assembler-arm.h', - '../src/arm/code-stubs-arm.cc', - '../src/arm/code-stubs-arm.h', - '../src/arm/codegen-arm.cc', '../src/arm/constants-arm.h', '../src/arm/constants-arm.cc', '../src/arm/cpu-arm.cc', @@ -1804,6 +1828,7 @@ '../src/arm/interface-descriptors-arm.cc', '../src/arm/macro-assembler-arm.cc', '../src/arm/macro-assembler-arm.h', + '../src/arm/register-arm.h', '../src/arm/simulator-arm.cc', '../src/arm/simulator-arm.h', '../src/compiler/backend/arm/code-generator-arm.cc', @@ -1823,9 +1848,6 @@ '../src/arm64/assembler-arm64-inl.h', '../src/arm64/assembler-arm64.cc', '../src/arm64/assembler-arm64.h', - '../src/arm64/code-stubs-arm64.cc', - '../src/arm64/code-stubs-arm64.h', - '../src/arm64/codegen-arm64.cc', '../src/arm64/constants-arm64.h', '../src/arm64/cpu-arm64.cc', '../src/arm64/decoder-arm64-inl.h', @@ -1846,6 +1868,8 @@ '../src/arm64/macro-assembler-arm64-inl.h', '../src/arm64/macro-assembler-arm64.cc', '../src/arm64/macro-assembler-arm64.h', + '../src/arm64/register-arm64.cc', + '../src/arm64/register-arm64.h', '../src/arm64/simulator-arm64.cc', '../src/arm64/simulator-arm64.h', '../src/arm64/simulator-logic-arm64.cc', @@ -1873,9 +1897,6 @@ '../src/mips/assembler-mips-inl.h', '../src/mips/assembler-mips.cc', '../src/mips/assembler-mips.h', - '../src/mips/code-stubs-mips.cc', - '../src/mips/code-stubs-mips.h', - '../src/mips/codegen-mips.cc', '../src/mips/constants-mips.cc', '../src/mips/constants-mips.h', '../src/mips/cpu-mips.cc', @@ -1886,6 +1907,7 @@ '../src/mips/interface-descriptors-mips.cc', '../src/mips/macro-assembler-mips.cc', '../src/mips/macro-assembler-mips.h', + '../src/mips/register-mips.h', '../src/mips/simulator-mips.cc', '../src/mips/simulator-mips.h', '../src/regexp/mips/regexp-macro-assembler-mips.cc', @@ -1903,9 +1925,6 @@ '../src/mips64/assembler-mips64-inl.h', '../src/mips64/assembler-mips64.cc', '../src/mips64/assembler-mips64.h', - '../src/mips64/code-stubs-mips64.cc', - '../src/mips64/code-stubs-mips64.h', - '../src/mips64/codegen-mips64.cc', '../src/mips64/constants-mips64.cc', '../src/mips64/constants-mips64.h', '../src/mips64/cpu-mips64.cc', @@ -1916,6 +1935,7 @@ '../src/mips64/interface-descriptors-mips64.cc', '../src/mips64/macro-assembler-mips64.cc', '../src/mips64/macro-assembler-mips64.h', + '../src/mips64/register-mips64.h', '../src/mips64/simulator-mips64.cc', '../src/mips64/simulator-mips64.h', '../src/regexp/mips64/regexp-macro-assembler-mips64.cc', @@ -1933,9 +1953,6 @@ '../src/ppc/assembler-ppc-inl.h', '../src/ppc/assembler-ppc.cc', '../src/ppc/assembler-ppc.h', - '../src/ppc/code-stubs-ppc.cc', - '../src/ppc/code-stubs-ppc.h', - '../src/ppc/codegen-ppc.cc', '../src/ppc/constants-ppc.h', '../src/ppc/constants-ppc.cc', '../src/ppc/cpu-ppc.cc', @@ -1946,6 +1963,7 @@ '../src/ppc/interface-descriptors-ppc.cc', '../src/ppc/macro-assembler-ppc.cc', '../src/ppc/macro-assembler-ppc.h', + '../src/ppc/register-ppc.h', '../src/ppc/simulator-ppc.cc', '../src/ppc/simulator-ppc.h', '../src/regexp/ppc/regexp-macro-assembler-ppc.cc', @@ -1965,9 +1983,6 @@ '../src/s390/assembler-s390-inl.h', '../src/s390/assembler-s390.cc', '../src/s390/assembler-s390.h', - '../src/s390/code-stubs-s390.cc', - '../src/s390/code-stubs-s390.h', - '../src/s390/codegen-s390.cc', '../src/s390/constants-s390.cc', '../src/s390/constants-s390.h', '../src/s390/cpu-s390.cc', @@ -1978,6 +1993,7 @@ '../src/s390/interface-descriptors-s390.cc', '../src/s390/macro-assembler-s390.cc', '../src/s390/macro-assembler-s390.h', + '../src/s390/register-s390.h', '../src/s390/simulator-s390.cc', '../src/s390/simulator-s390.h', '../src/wasm/baseline/s390/liftoff-assembler-s390.h', @@ -2125,6 +2141,7 @@ '../src/base/debug/stack_trace.h', '../src/base/division-by-constant.cc', '../src/base/division-by-constant.h', + '../src/base/enum-set.h', '../src/base/export-template.h', '../src/base/file-utils.cc', '../src/base/file-utils.h', @@ -2148,6 +2165,7 @@ '../src/base/once.cc', '../src/base/once.h', '../src/base/optional.h', + '../src/base/overflowing-math.h', '../src/base/page-allocator.cc', '../src/base/page-allocator.h', '../src/base/platform/condition-variable.cc', @@ -2167,6 +2185,7 @@ '../src/base/safe_conversions_impl.h', '../src/base/safe_math.h', '../src/base/safe_math_impl.h', + '../src/base/small-vector.h', '../src/base/sys-info.cc', '../src/base/sys-info.h', '../src/base/template-utils.h', @@ -2500,28 +2519,9 @@ 'conditions': [ ['want_separate_host_toolset==1', { 'dependencies': ['js2c#host'], - }, { - 'dependencies': ['js2c'], }], ], 'actions': [ - { - 'action_name': 'js2c_bin', - 'inputs': [ - '../tools/js2c.py', - '<@(library_files)', - ], - 'outputs': ['<@(libraries_bin_file)'], - 'action': [ - 'python', - '../tools/js2c.py', - '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', - 'CORE', - '<@(library_files)', - '--startup_blob', '<@(libraries_bin_file)', - '--nojs', - ], - }, { 'action_name': 'js2c_extras_bin', 'inputs': [ @@ -2539,30 +2539,11 @@ '--nojs', ], }, - { - 'action_name': 'js2c_experimental_extras_bin', - 'inputs': [ - '../tools/js2c.py', - '<@(v8_experimental_extra_library_files)', - ], - 'outputs': ['<@(libraries_experimental_extras_bin_file)'], - 'action': [ - 'python', - '../tools/js2c.py', - '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', - 'EXPERIMENTAL_EXTRAS', - '<@(v8_experimental_extra_library_files)', - '--startup_blob', '<@(libraries_experimental_extras_bin_file)', - '--nojs', - ], - }, { 'action_name': 'concatenate_natives_blob', 'inputs': [ '../tools/concatenate-files.py', - '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', - '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin', ], 'conditions': [ ['want_separate_host_toolset==1', { @@ -2612,29 +2593,10 @@ '../src/js/macros.py', '../src/message-template.h', '../src/js/prologue.js', - '../src/js/array.js', - '../src/js/typedarray.js', ], - 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', - 'libraries_experimental_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin', }, 'actions': [ - { - 'action_name': 'js2c', - 'inputs': [ - '../tools/js2c.py', - '<@(library_files)', - ], - 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/libraries.cc'], - 'action': [ - 'python', - '../tools/js2c.py', - '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', - 'CORE', - '<@(library_files)', - ], - }, { 'action_name': 'js2c_extras', 'inputs': [ @@ -2650,23 +2612,6 @@ '<@(v8_extra_library_files)', ], }, - { - 'action_name': 'js2c_experimental_extras', - 'inputs': [ - '../tools/js2c.py', - '<@(v8_experimental_extra_library_files)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', - ], - 'action': [ - 'python', - '../tools/js2c.py', - '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', - 'EXPERIMENTAL_EXTRAS', - '<@(v8_experimental_extra_library_files)', - ], - }, ], }, # js2c { @@ -2748,12 +2693,18 @@ '../src/objects-inl.h', '../src/objects/allocation-site-inl.h', '../src/objects/allocation-site.h', + '../src/objects/cell-inl.h', + '../src/objects/cell.h', '../src/objects/code-inl.h', '../src/objects/code.h', '../src/objects/data-handler.h', '../src/objects/data-handler-inl.h', + '../src/objects/feedback-cell.h', + '../src/objects/feedback-cell-inl.h', '../src/objects/fixed-array-inl.h', '../src/objects/fixed-array.h', + '../src/objects/heap-number-inl.h', + '../src/objects/heap-number.h', '../src/objects/heap-object-inl.h', '../src/objects/heap-object.h', '../src/objects/instance-type.h', @@ -2773,6 +2724,8 @@ '../src/objects/map-inl.h', '../src/objects/name.h', '../src/objects/name-inl.h', + '../src/objects/oddball-inl.h', + '../src/objects/oddball.h', '../src/objects/scope-info.h', '../src/objects/script.h', '../src/objects/script-inl.h', @@ -2780,6 +2733,8 @@ '../src/objects/shared-function-info-inl.h', '../src/objects/string.h', '../src/objects/string-inl.h', + '../src/objects/struct.h', + '../src/objects/struct-inl.h', ], }, 'actions': [ diff --git a/deps/v8/gypfiles/v8_external_snapshot.gypi b/deps/v8/gypfiles/v8_external_snapshot.gypi index 9b2af0bb19bd3d..c75e388101f25b 100644 --- a/deps/v8/gypfiles/v8_external_snapshot.gypi +++ b/deps/v8/gypfiles/v8_external_snapshot.gypi @@ -15,7 +15,6 @@ 'toolsets': ['target'], 'dependencies': [ 'mksnapshot', - 'js2c', 'natives_blob', ], }],