Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.18',
'v8_embedder_string': '-node.13',

##### V8 defaults for Node.js #####

Expand Down Expand Up @@ -98,7 +98,7 @@
'v8_base': '<(PRODUCT_DIR)/lib/libv8_snapshot.a',
}, {
'os_posix': 1,
'v8_postmortem_support%': 1,
'v8_postmortem_support%': 0,
}],
['GENERATOR == "ninja"', {
'obj_dir': '<(PRODUCT_DIR)/obj',
Expand Down
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
valid_mips_float_abi = ('soft', 'hard')
valid_intl_modes = ('none', 'small-icu', 'full-icu', 'system-icu')
icu_versions = json.loads((tools_path / 'icu' / 'icu_versions.json').read_text(encoding='utf-8'))
maglev_enabled_architectures = ('x64', 'arm', 'arm64', 's390x')
maglev_enabled_architectures = ('x64', 'arm', 'arm64', 's390x', 'ppc64', 'riscv64', 'loong64')

# builtins may be removed later if they have been disabled by options
shareable_builtins = {'undici/undici': 'deps/undici/undici.js',
Expand Down
3 changes: 3 additions & 0 deletions deps/v8/.git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,6 @@ cb67be1a3842fcf6a0da18aee444e3b7ea789e04
d1b27019d3bf86360ea838c317f8505fac6d3a7e
44fe02ced6e4c6b49d627807e3b3fd0edbbeb36e
ec06bb6ce5641cf65e400ec55b7421f87d04b999

# Simplify variants flags
0476eb39b3c58671720d3ef78730821a5b7d93fa
1 change: 1 addition & 0 deletions deps/v8/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
/src/inspector/build/closure-compiler
/src/inspector/build/closure-compiler.tar.gz
/test/benchmarks/data
/test/benchmarks/JetStream3
/test/fuzzer/wasm_corpus/
/test/fuzzer/wasm_corpus.tar.gz
!/test/mjsunit/tools/*.log
Expand Down
6 changes: 4 additions & 2 deletions deps/v8/.gn
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ default_args = {
# These are the list of GN files that run exec_script. This whitelist exists
# to force additional review for new uses of exec_script, which is strongly
# discouraged except for gypi_to_gn calls.
exec_script_allowlist = build_dotfile_settings.exec_script_allowlist +
[ "//build_overrides/build.gni" ]
exec_script_allowlist = build_dotfile_settings.exec_script_allowlist + [
"//build_overrides/build.gni",
"//gni/cluster_build.gni",
]
7 changes: 5 additions & 2 deletions deps/v8/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Julia Computing, Inc. <*@juliacomputing.com>
CodeWeavers, Inc. <*@codeweavers.com>
Alibaba, Inc. <*@alibaba-inc.com>
SiFive, Inc. <*@sifive.com>
Island Technology, Inc. <*@island.io>

Aapo Alasuutari <[email protected]>
Aaron Bieber <[email protected]>
Expand Down Expand Up @@ -131,7 +132,7 @@ Fedor Indutny <[email protected]>
Felix Geisendörfer <[email protected]>
Feng Yu <[email protected]>
Filipe David Manana <[email protected]>
Florian Loitsch <floitsch@rivosinc.com>
Florian Loitsch <floitsch@meta.com>
Frank Lemanschik <[email protected]>
Franziska Hinkelmann <[email protected]>
Gao Sheng <[email protected]>
Expand All @@ -155,6 +156,7 @@ Huáng Jùnliàng <[email protected]>
HyeockJin Kim <[email protected]>
Iain Ireland <[email protected]>
Ilya Gavrilin <[email protected]>
Ilyas Shabi <[email protected]>
Ingvar Stepanyan <[email protected]>
Ioseb Dzmanashvili <[email protected]>
Isiah Meadows <[email protected]>
Expand All @@ -165,6 +167,7 @@ James Pike <[email protected]>
Jan Krems <[email protected]>
Jan de Mooij <[email protected]>
Janusz Majnert <[email protected]>
Jarden Xian <[email protected]>
Javad Amiri <[email protected]>
Jay Freeman <[email protected]>
Jeroen Bobbeldijk <[email protected]>
Expand All @@ -186,7 +189,7 @@ Junha Park <[email protected]>
Junming Huang <[email protected]>
Kang-Hao (Kenny) Lu <[email protected]>
Karl Skomski <[email protected]>
Kasper Lund <kasperl@rivosinc.com>
Kasper Lund <kasperl@meta.com>
Keith Smiley <[email protected]>
Kenta Moriuchi <[email protected]>
Kevin Gibbons <[email protected]>
Expand Down
60 changes: 44 additions & 16 deletions deps/v8/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ v8_flag(

v8_flag(name = "v8_enable_experimental_tq_to_tsa")

v8_flag(
name = "v8_use_host_cpu_arm_features",
default = True,
)

# Default setting for v8_enable_maglev
selects.config_setting_group(
name = "maglev_by_default",
Expand Down Expand Up @@ -521,6 +526,7 @@ v8_config(
"v8_jitless": "V8_JITLESS",
"v8_enable_vtunejit": "ENABLE_VTUNE_JIT_INTERFACE",
"v8_enable_undefined_double": "V8_ENABLE_UNDEFINED_DOUBLE",
"v8_use_host_cpu_arm_features": "V8_USE_HOST_CPU_ARM_FEATURES",
},
defines = [
"GOOGLE3",
Expand Down Expand Up @@ -837,8 +843,9 @@ filegroup(
"src/base/compiler-specific.h",
"src/base/container-utils.h",
"src/base/contextual.h",
"src/base/cpu.cc",
"src/base/cpu.h",
"src/base/cpu/cpu.cc",
"src/base/cpu/cpu.h",
"src/base/cpu/cpu-helper.h",
"src/base/debug/stack_trace.cc",
"src/base/debug/stack_trace.h",
"src/base/discriminated-union.h",
Expand Down Expand Up @@ -991,6 +998,25 @@ filegroup(
"src/base/platform/platform-win32.h",
"src/base/win32-headers.h",
],
}) + select({
"@v8//bazel/config:v8_target_x64": [
"src/base/cpu/cpu-x86.cc",
],
"@v8//bazel/config:v8_target_ia32": [
"src/base/cpu/cpu-x86.cc",
],
"@v8//bazel/config:v8_target_arm64": [
"src/base/cpu/cpu-arm.cc",
],
"@v8//bazel/config:v8_target_arm": [
"src/base/cpu/cpu-arm.cc",
],
"@v8//bazel/config:v8_target_ppc64le": [
"src/base/cpu/cpu-ppc.cc",
],
"@v8//bazel/config:v8_target_riscv64": [
"src/base/cpu/cpu-riscv.cc",
],
}),
visibility = ["//visibility:public"],
)
Expand Down Expand Up @@ -1479,6 +1505,7 @@ filegroup(
"src/builtins/constants-table-builder.h",
"src/builtins/data-view-ops.h",
"src/builtins/profile-data-reader.h",
"src/builtins/superspread.h",
"src/codegen/aligned-slot-allocator.cc",
"src/codegen/aligned-slot-allocator.h",
"src/codegen/assembler.cc",
Expand Down Expand Up @@ -2153,6 +2180,9 @@ filegroup(
"src/objects/js-collection-inl.h",
"src/objects/js-collection-iterator.h",
"src/objects/js-collection-iterator-inl.h",
"src/objects/js-data-object-builder.cc",
"src/objects/js-data-object-builder.h",
"src/objects/js-data-object-builder-inl.h",
"src/objects/js-disposable-stack.cc",
"src/objects/js-disposable-stack.h",
"src/objects/js-disposable-stack-inl.h",
Expand Down Expand Up @@ -2394,7 +2424,6 @@ filegroup(
"src/profiler/heap-snapshot-common.h",
"src/profiler/heap-snapshot-generator.cc",
"src/profiler/heap-snapshot-generator.h",
"src/profiler/heap-snapshot-generator-inl.h",
"src/profiler/output-stream-writer.h",
"src/profiler/profile-generator.cc",
"src/profiler/profile-generator.h",
Expand Down Expand Up @@ -2980,6 +3009,7 @@ filegroup(
"src/maglev/maglev-ir-inl.h",
"src/maglev/maglev-ir.h",
"src/maglev/maglev-kna-processor.h",
"src/maglev/maglev-map-inference.h",
"src/maglev/maglev-node-type.h",
"src/maglev/maglev-phi-representation-selector.h",
"src/maglev/maglev-truncation.h",
Expand Down Expand Up @@ -3014,6 +3044,7 @@ filegroup(
"src/maglev/maglev-ir.cc",
"src/maglev/maglev-node-type.cc",
"src/maglev/maglev-phi-representation-selector.cc",
"src/maglev/maglev-tracer.h",
"src/maglev/maglev-truncation.cc",
"src/maglev/maglev-pipeline-statistics.cc",
"src/maglev/maglev-range-verification.cc",
Expand Down Expand Up @@ -3099,6 +3130,7 @@ filegroup(
"src/wasm/constant-expression-interface.cc",
"src/wasm/constant-expression-interface.h",
"src/wasm/decoder.h",
"src/wasm/effect-handler.h",
"src/wasm/function-body-decoder.cc",
"src/wasm/function-body-decoder.h",
"src/wasm/function-body-decoder-impl.h",
Expand Down Expand Up @@ -3156,6 +3188,7 @@ filegroup(
"src/wasm/wasm-disassembler.h",
"src/wasm/wasm-disassembler-impl.h",
"src/wasm/wasm-engine.cc",
"src/wasm/wasm-engine-globals.h",
"src/wasm/wasm-engine.h",
"src/wasm/wasm-export-wrapper-cache.cc",
"src/wasm/wasm-export-wrapper-cache.h",
Expand Down Expand Up @@ -3460,8 +3493,6 @@ filegroup(
"src/compiler/operator-properties.h",
"src/compiler/osr.cc",
"src/compiler/osr.h",
"src/compiler/pair-load-store-reducer.cc",
"src/compiler/pair-load-store-reducer.h",
"src/compiler/per-isolate-compiler-cache.h",
"src/compiler/persistent-map.h",
"src/compiler/phase.h",
Expand Down Expand Up @@ -3601,8 +3632,8 @@ filegroup(
"src/compiler/turboshaft/operations.cc",
"src/compiler/turboshaft/operations.h",
"src/compiler/turboshaft/opmasks.h",
"src/compiler/turboshaft/optimize-phase.cc",
"src/compiler/turboshaft/optimize-phase.h",
"src/compiler/turboshaft/memory-optimization-phase.cc",
"src/compiler/turboshaft/memory-optimization-phase.h",
"src/compiler/turboshaft/phase.cc",
"src/compiler/turboshaft/phase.h",
"src/compiler/turboshaft/pipelines.cc",
Expand All @@ -3624,8 +3655,8 @@ filegroup(
"src/compiler/turboshaft/snapshot-table.h",
"src/compiler/turboshaft/snapshot-table-opindex.h",
"src/compiler/turboshaft/stack-check-lowering-reducer.h",
"src/compiler/turboshaft/store-store-elimination-phase.cc",
"src/compiler/turboshaft/store-store-elimination-phase.h",
"src/compiler/turboshaft/load-elimination-phase.cc",
"src/compiler/turboshaft/load-elimination-phase.h",
"src/compiler/turboshaft/store-store-elimination-reducer-inl.h",
"src/compiler/turboshaft/string-escape-analysis-reducer.cc",
"src/compiler/turboshaft/string-escape-analysis-reducer.h",
Expand Down Expand Up @@ -3824,6 +3855,7 @@ filegroup(
"src/maglev/maglev-register-frame-array.h",
"src/maglev/maglev-phi-representation-selector.cc",
"src/maglev/maglev-phi-representation-selector.h",
"src/maglev/maglev-tracer.h",
"src/maglev/maglev-truncation.cc",
"src/maglev/maglev-truncation.h",
"src/maglev/maglev-post-hoc-optimizations-processors.h",
Expand Down Expand Up @@ -4112,24 +4144,20 @@ filegroup(
name = "v8_bigint",
srcs = [
"src/bigint/bigint.h",
"src/bigint/bigint-inl.h",
"src/bigint/bigint-internal.cc",
"src/bigint/bigint-internal.h",
"src/bigint/bitwise.cc",
"src/bigint/digit-arithmetic.h",
"src/bigint/div-barrett.cc",
"src/bigint/div-burnikel.cc",
"src/bigint/div-helpers.cc",
"src/bigint/div-helpers.h",
"src/bigint/div-helpers-inl.h",
"src/bigint/div-schoolbook.cc",
"src/bigint/fromstring.cc",
"src/bigint/mul-fft.cc",
"src/bigint/mul-karatsuba.cc",
"src/bigint/mul-schoolbook.cc",
"src/bigint/mul-toom.cc",
"src/bigint/tostring.cc",
"src/bigint/util.h",
"src/bigint/vector-arithmetic.cc",
"src/bigint/vector-arithmetic.h",
"src/bigint/vector-arithmetic-inl.h",
],
)

Expand Down
Loading
Loading