Skip to content
Closed
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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.13',
'v8_embedder_string': '-node.7',

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

Expand Down
3 changes: 3 additions & 0 deletions deps/v8/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
/third_party/colorama/src
!/third_party/cpu_features
/third_party/cpu_features/src
!/third_party/dragonbox
/third_party/dragonbox/src/*
!/third_party/dragonbox/src/include
!/third_party/fast_float
/third_party/fast_float/src/*
!/third_party/fast_float/src/include
Expand Down
6 changes: 5 additions & 1 deletion deps/v8/.ycm_extra_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
# Ninja might execute several commands to build something. We want the last
# clang command.
clang_line = None
for line in reversed(stdout.decode('utf-8').splitlines()):
for line in reversed(stdout.splitlines()):
try:
line = line.decode('utf-8')
except UnicodeDecodeError:
continue
if 'clang' in line:
clang_line = line
break
Expand Down
2 changes: 2 additions & 0 deletions deps/v8/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ Keyhan Vakil <kvakil@googlecontrib.kvakil.me>
Kris Selden <kris.selden@gmail.com>
Kyounga Ra <kyounga@alticast.com>
Levi Zim <rsworktech@outlook.com>
LN Liberda <lauren@selfisekai.rocks>
Loo Rong Jie <loorongjie@gmail.com>
Lu Yahan <yahan@iscas.ac.cn>
Ludovic Mermod <ludovic.mermod@gmail.com>
Expand Down Expand Up @@ -335,3 +336,4 @@ Jing Peiyang <jingpeiyang@eswincomputing.com>
magic-akari <akari.ccino@gmail.com>
Ryuhei Shima <shimaryuhei@gmail.com>
Domagoj Stolfa <domagoj.stolfa@gmail.com>
Zhijin Zeng <zhijin.zeng@spacemit.com>
73 changes: 60 additions & 13 deletions deps/v8/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,8 @@ filegroup(
"src/objects/js-shadow-realm.tq",
"src/objects/js-shared-array.tq",
"src/objects/js-struct.tq",
"src/objects/js-temporal-objects.tq",
# Temporal is currently gn-only
# "src/objects/js-temporal-objects.tq",
"src/objects/js-weak-refs.tq",
"src/objects/literal-objects.tq",
"src/objects/map.tq",
Expand Down Expand Up @@ -1318,8 +1319,6 @@ filegroup(
"src/api/api-arguments.h",
"src/api/api-arguments-inl.h",
"src/api/api-inl.h",
"src/api/api-macros.h",
"src/api/api-macros-undef.h",
"src/api/api-natives.cc",
"src/api/api-natives.h",
"src/asmjs/asm-js.h",
Expand Down Expand Up @@ -1381,6 +1380,8 @@ filegroup(
"src/builtins/builtins-definitions.h",
"src/builtins/builtins-descriptors.h",
"src/builtins/builtins-disposable-stack.cc",
"src/builtins/builtins-effects-analyzer.cc",
"src/builtins/builtins-effects-analyzer.h",
"src/builtins/builtins-error.cc",
"src/builtins/builtins-function.cc",
"src/builtins/builtins-global.cc",
Expand All @@ -1397,7 +1398,8 @@ filegroup(
"src/builtins/builtins-string.cc",
"src/builtins/builtins-struct.cc",
"src/builtins/builtins-symbol.cc",
"src/builtins/builtins-temporal.cc",
# Temporal is currently gn-only
# "src/builtins/builtins-temporal.cc",
"src/builtins/builtins-trace.cc",
"src/builtins/builtins-typed-array.cc",
"src/builtins/builtins-utils.h",
Expand Down Expand Up @@ -1718,6 +1720,7 @@ filegroup(
"src/heap/free-list.h",
"src/heap/free-list-inl.h",
"src/heap/gc-callbacks.h",
"src/heap/gc-callbacks-inl.h",
"src/heap/gc-tracer.cc",
"src/heap/gc-tracer.h",
"src/heap/gc-tracer-inl.h",
Expand Down Expand Up @@ -2105,9 +2108,12 @@ filegroup(
"src/objects/js-struct.cc",
"src/objects/js-struct.h",
"src/objects/js-struct-inl.h",
"src/objects/js-temporal-objects.cc",
"src/objects/js-temporal-objects.h",
"src/objects/js-temporal-objects-inl.h",
# Temporal is currently gn-only
# "src/objects/js-temporal-objects.cc",
# "src/objects/js-temporal-objects.h",
# "src/objects/js-temporal-objects-inl.h",
"src/objects/js-temporal-helpers.h",
"src/objects/js-temporal-helpers.cc",
"src/objects/js-weak-refs.cc",
"src/objects/js-weak-refs.h",
"src/objects/js-weak-refs-inl.h",
Expand Down Expand Up @@ -2141,6 +2147,9 @@ filegroup(
"src/objects/module-inl.h",
"src/objects/name.h",
"src/objects/name-inl.h",
"src/objects/number-string-cache.cc",
"src/objects/number-string-cache.h",
"src/objects/number-string-cache-inl.h",
"src/objects/object-list-macros.h",
"src/objects/object-macros.h",
"src/objects/object-macros-undef.h",
Expand Down Expand Up @@ -2303,6 +2312,7 @@ filegroup(
"src/profiler/cpu-profiler-inl.h",
"src/profiler/heap-profiler.cc",
"src/profiler/heap-profiler.h",
"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",
Expand Down Expand Up @@ -2401,7 +2411,6 @@ filegroup(
"src/runtime/runtime-shadow-realm.cc",
"src/runtime/runtime-strings.cc",
"src/runtime/runtime-symbol.cc",
"src/runtime/runtime-temporal.cc",
"src/runtime/runtime-test.cc",
"src/runtime/runtime-trace.cc",
"src/runtime/runtime-typedarray.cc",
Expand Down Expand Up @@ -2453,6 +2462,7 @@ filegroup(
"src/sandbox/tagged-payload.h",
"src/sandbox/testing.cc",
"src/sandbox/testing.h",
"src/snapshot/builtins-effects-dummy.cc",
"src/snapshot/code-serializer.cc",
"src/snapshot/code-serializer.h",
"src/snapshot/context-deserializer.cc",
Expand Down Expand Up @@ -2526,8 +2536,9 @@ filegroup(
"src/tasks/operations-barrier.h",
"src/tasks/task-utils.cc",
"src/tasks/task-utils.h",
"src/temporal/temporal-parser.cc",
"src/temporal/temporal-parser.h",
# Temporal is currently gn-only
# "src/temporal/temporal-parser.cc",
# "src/temporal/temporal-parser.h",
"src/torque/runtime-macro-shims.h",
"src/tracing/trace-event.cc",
"src/tracing/trace-event.h",
Expand All @@ -2554,6 +2565,8 @@ filegroup(
"src/utils/locked-queue-inl.h",
"src/utils/memcopy.cc",
"src/utils/memcopy.h",
"src/utils/output-stream.cc",
"src/utils/output-stream.h",
"src/utils/ostreams.cc",
"src/utils/ostreams.h",
"src/utils/scoped-list.h",
Expand Down Expand Up @@ -2939,6 +2952,8 @@ filegroup(
"src/wasm/baseline/parallel-move.cc",
"src/wasm/baseline/parallel-move.h",
"src/wasm/baseline/parallel-move-inl.h",
"src/wasm/basic-block-calculator.cc",
"src/wasm/basic-block-calculator.h",
"src/wasm/branch-hint-map.h",
"src/wasm/canonical-types.cc",
"src/wasm/canonical-types.h",
Expand Down Expand Up @@ -2995,6 +3010,7 @@ filegroup(
"src/wasm/value-type.h",
"src/wasm/wasm-arguments.h",
"src/wasm/wasm-builtin-list.h",
"src/wasm/wasm-code-coverage.h",
"src/wasm/wasm-code-manager.cc",
"src/wasm/wasm-code-manager.h",
"src/wasm/wasm-code-pointer-table.cc",
Expand All @@ -3009,6 +3025,8 @@ filegroup(
"src/wasm/wasm-disassembler-impl.h",
"src/wasm/wasm-engine.cc",
"src/wasm/wasm-engine.h",
"src/wasm/wasm-export-wrapper-cache.cc",
"src/wasm/wasm-export-wrapper-cache.h",
"src/wasm/wasm-external-refs.cc",
"src/wasm/wasm-external-refs.h",
"src/wasm/wasm-features.cc",
Expand Down Expand Up @@ -3364,8 +3382,18 @@ filegroup(
"src/compiler/turboshaft/build-graph-phase.h",
"src/compiler/turboshaft/builtin-call-descriptors.h",
"src/compiler/turboshaft/builtin-compiler.h",
"src/compiler/turboshaft/csa-optimize-phase.cc",
"src/compiler/turboshaft/csa-optimize-phase.h",
"src/compiler/turboshaft/csa-branch-elimination-phase.cc",
"src/compiler/turboshaft/csa-branch-elimination-phase.h",
"src/compiler/turboshaft/csa-early-machine-optimization-phase.cc",
"src/compiler/turboshaft/csa-early-machine-optimization-phase.h",
"src/compiler/turboshaft/csa-effects-computation.cc",
"src/compiler/turboshaft/csa-effects-computation.h",
"src/compiler/turboshaft/csa-late-escape-analysis-phase.cc",
"src/compiler/turboshaft/csa-late-escape-analysis-phase.h",
"src/compiler/turboshaft/csa-load-elimination-phase.cc",
"src/compiler/turboshaft/csa-load-elimination-phase.h",
"src/compiler/turboshaft/csa-memory-optimization-phase.cc",
"src/compiler/turboshaft/csa-memory-optimization-phase.h",
"src/compiler/turboshaft/dataview-lowering-reducer.h",
"src/compiler/turboshaft/code-elimination-and-simplification-phase.cc",
"src/compiler/turboshaft/code-elimination-and-simplification-phase.h",
Expand Down Expand Up @@ -3683,7 +3711,8 @@ filegroup(
"src/builtins/builtins-string-gen.cc",
"src/builtins/builtins-string-gen.h",
"src/builtins/builtins-string-tsa.cc",
"src/builtins/builtins-temporal-gen.cc",
# Temporal is currently gn-only
# "src/builtins/builtins-temporal-gen.cc",
"src/builtins/builtins-typed-array-gen.cc",
"src/builtins/builtins-typed-array-gen.h",
"src/builtins/builtins-utils-gen.h",
Expand Down Expand Up @@ -3885,6 +3914,17 @@ filegroup(
}),
)

v8_library(
name = "lib_dragonbox",
srcs = ["third_party/dragonbox/src/include/dragonbox/dragonbox.h"],
hdrs = [
"third_party/dragonbox/src/include/dragonbox/dragonbox.h",
],
includes = [
"third_party/dragonbox/src/include",
],
)

v8_library(
name = "lib_fp16",
srcs = ["third_party/fp16/src/include/fp16.h"],
Expand Down Expand Up @@ -4361,6 +4401,12 @@ cc_library(
name = "simdutf",
srcs = ["third_party/simdutf/simdutf.cpp"],
hdrs = ["third_party/simdutf/simdutf.h"],
copts = select({
"@v8//bazel/config:is_clang": ["-std=c++20"],
"@v8//bazel/config:is_gcc": ["-std=gnu++2a"],
"@v8//bazel/config:is_windows": ["/std:c++20"],
"//conditions:default": [],
}),
)

v8_library(
Expand Down Expand Up @@ -4391,6 +4437,7 @@ v8_library(
":noicu/generated_torque_definitions",
],
deps = [
":lib_dragonbox",
"//third_party/fast_float/src:fast_float",
":lib_fp16",
":simdutf",
Expand Down
Loading
Loading