Skip to content

Commit e0d426e

Browse files
deps: update V8 to 13.9.152
1 parent 5fe7800 commit e0d426e

File tree

1,725 files changed

+80521
-53782
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,725 files changed

+80521
-53782
lines changed

deps/v8/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
/third_party/colorama/src
6969
!/third_party/cpu_features
7070
/third_party/cpu_features/src
71+
!/third_party/dragonbox
72+
/third_party/dragonbox/src/*
73+
!/third_party/dragonbox/src/include
7174
!/third_party/fast_float
7275
/third_party/fast_float/src/*
7376
!/third_party/fast_float/src/include

deps/v8/.ycm_extra_conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,11 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
132132
# Ninja might execute several commands to build something. We want the last
133133
# clang command.
134134
clang_line = None
135-
for line in reversed(stdout.decode('utf-8').splitlines()):
135+
for line in reversed(stdout.splitlines()):
136+
try:
137+
line = line.decode('utf-8')
138+
except UnicodeDecodeError:
139+
continue
136140
if 'clang' in line:
137141
clang_line = line
138142
break

deps/v8/AUTHORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ Keyhan Vakil <[email protected]>
189189
Kris Selden <[email protected]>
190190
Kyounga Ra <[email protected]>
191191
192+
LN Liberda <[email protected]>
192193
Loo Rong Jie <[email protected]>
193194
194195
Ludovic Mermod <[email protected]>
@@ -270,6 +271,7 @@ Sanjoy Das <[email protected]>
270271
Sam James <[email protected]>
271272
Sébastien Doeraene <[email protected]>
272273
Seo Sanghyeon <[email protected]>
274+
Sergey Markelov <[email protected]>
273275
Shawn Anastasio <[email protected]>
274276
Shawn Presser <[email protected]>
275277
Sho Miyamoto <[email protected]>
@@ -335,3 +337,4 @@ Jing Peiyang <[email protected]>
335337
magic-akari <[email protected]>
336338
Ryuhei Shima <[email protected]>
337339
Domagoj Stolfa <[email protected]>
340+
Zhijin Zeng <[email protected]>

deps/v8/BUILD.bazel

Lines changed: 69 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ load(":bazel/v8-non-pointer-compression.bzl", "v8_binary_non_pointer_compression
7575
# cppgc_enable_slow_api_checks
7676
# cppgc_enable_verify_heap
7777
# cppgc_enable_young_generation
78-
# v8_enable_zone_compression
7978
# v8_enable_precise_zone_stats
8079
# v8_enable_swiss_name_dictionary
8180
# v8_generate_external_defines_header
@@ -1176,7 +1175,8 @@ filegroup(
11761175
"src/objects/js-shadow-realm.tq",
11771176
"src/objects/js-shared-array.tq",
11781177
"src/objects/js-struct.tq",
1179-
"src/objects/js-temporal-objects.tq",
1178+
# Temporal is currently gn-only
1179+
# "src/objects/js-temporal-objects.tq",
11801180
"src/objects/js-weak-refs.tq",
11811181
"src/objects/literal-objects.tq",
11821182
"src/objects/map.tq",
@@ -1318,8 +1318,6 @@ filegroup(
13181318
"src/api/api-arguments.h",
13191319
"src/api/api-arguments-inl.h",
13201320
"src/api/api-inl.h",
1321-
"src/api/api-macros.h",
1322-
"src/api/api-macros-undef.h",
13231321
"src/api/api-natives.cc",
13241322
"src/api/api-natives.h",
13251323
"src/asmjs/asm-js.h",
@@ -1381,6 +1379,8 @@ filegroup(
13811379
"src/builtins/builtins-definitions.h",
13821380
"src/builtins/builtins-descriptors.h",
13831381
"src/builtins/builtins-disposable-stack.cc",
1382+
"src/builtins/builtins-effects-analyzer.cc",
1383+
"src/builtins/builtins-effects-analyzer.h",
13841384
"src/builtins/builtins-error.cc",
13851385
"src/builtins/builtins-function.cc",
13861386
"src/builtins/builtins-global.cc",
@@ -1397,7 +1397,8 @@ filegroup(
13971397
"src/builtins/builtins-string.cc",
13981398
"src/builtins/builtins-struct.cc",
13991399
"src/builtins/builtins-symbol.cc",
1400-
"src/builtins/builtins-temporal.cc",
1400+
# Temporal is currently gn-only
1401+
# "src/builtins/builtins-temporal.cc",
14011402
"src/builtins/builtins-trace.cc",
14021403
"src/builtins/builtins-typed-array.cc",
14031404
"src/builtins/builtins-utils.h",
@@ -1718,6 +1719,7 @@ filegroup(
17181719
"src/heap/free-list.h",
17191720
"src/heap/free-list-inl.h",
17201721
"src/heap/gc-callbacks.h",
1722+
"src/heap/gc-callbacks-inl.h",
17211723
"src/heap/gc-tracer.cc",
17221724
"src/heap/gc-tracer.h",
17231725
"src/heap/gc-tracer-inl.h",
@@ -2105,9 +2107,12 @@ filegroup(
21052107
"src/objects/js-struct.cc",
21062108
"src/objects/js-struct.h",
21072109
"src/objects/js-struct-inl.h",
2108-
"src/objects/js-temporal-objects.cc",
2109-
"src/objects/js-temporal-objects.h",
2110-
"src/objects/js-temporal-objects-inl.h",
2110+
# Temporal is currently gn-only
2111+
# "src/objects/js-temporal-objects.cc",
2112+
# "src/objects/js-temporal-objects.h",
2113+
# "src/objects/js-temporal-objects-inl.h",
2114+
"src/objects/js-temporal-helpers.h",
2115+
"src/objects/js-temporal-helpers.cc",
21112116
"src/objects/js-weak-refs.cc",
21122117
"src/objects/js-weak-refs.h",
21132118
"src/objects/js-weak-refs-inl.h",
@@ -2141,6 +2146,9 @@ filegroup(
21412146
"src/objects/module-inl.h",
21422147
"src/objects/name.h",
21432148
"src/objects/name-inl.h",
2149+
"src/objects/number-string-cache.cc",
2150+
"src/objects/number-string-cache.h",
2151+
"src/objects/number-string-cache-inl.h",
21442152
"src/objects/object-list-macros.h",
21452153
"src/objects/object-macros.h",
21462154
"src/objects/object-macros-undef.h",
@@ -2303,6 +2311,7 @@ filegroup(
23032311
"src/profiler/cpu-profiler-inl.h",
23042312
"src/profiler/heap-profiler.cc",
23052313
"src/profiler/heap-profiler.h",
2314+
"src/profiler/heap-snapshot-common.h",
23062315
"src/profiler/heap-snapshot-generator.cc",
23072316
"src/profiler/heap-snapshot-generator.h",
23082317
"src/profiler/heap-snapshot-generator-inl.h",
@@ -2401,7 +2410,6 @@ filegroup(
24012410
"src/runtime/runtime-shadow-realm.cc",
24022411
"src/runtime/runtime-strings.cc",
24032412
"src/runtime/runtime-symbol.cc",
2404-
"src/runtime/runtime-temporal.cc",
24052413
"src/runtime/runtime-test.cc",
24062414
"src/runtime/runtime-trace.cc",
24072415
"src/runtime/runtime-typedarray.cc",
@@ -2434,6 +2442,7 @@ filegroup(
24342442
"src/sandbox/trusted-pointer-table-inl.h",
24352443
"src/sandbox/code-pointer.h",
24362444
"src/sandbox/code-pointer-inl.h",
2445+
"src/sandbox/code-sandboxing-mode.h",
24372446
"src/sandbox/compactible-external-entity-table-inl.h",
24382447
"src/sandbox/compactible-external-entity-table.h",
24392448
"src/sandbox/isolate.h",
@@ -2453,6 +2462,7 @@ filegroup(
24532462
"src/sandbox/tagged-payload.h",
24542463
"src/sandbox/testing.cc",
24552464
"src/sandbox/testing.h",
2465+
"src/snapshot/builtins-effects-dummy.cc",
24562466
"src/snapshot/code-serializer.cc",
24572467
"src/snapshot/code-serializer.h",
24582468
"src/snapshot/context-deserializer.cc",
@@ -2526,8 +2536,9 @@ filegroup(
25262536
"src/tasks/operations-barrier.h",
25272537
"src/tasks/task-utils.cc",
25282538
"src/tasks/task-utils.h",
2529-
"src/temporal/temporal-parser.cc",
2530-
"src/temporal/temporal-parser.h",
2539+
# Temporal is currently gn-only
2540+
# "src/temporal/temporal-parser.cc",
2541+
# "src/temporal/temporal-parser.h",
25312542
"src/torque/runtime-macro-shims.h",
25322543
"src/tracing/trace-event.cc",
25332544
"src/tracing/trace-event.h",
@@ -2554,6 +2565,8 @@ filegroup(
25542565
"src/utils/locked-queue-inl.h",
25552566
"src/utils/memcopy.cc",
25562567
"src/utils/memcopy.h",
2568+
"src/utils/output-stream.cc",
2569+
"src/utils/output-stream.h",
25572570
"src/utils/ostreams.cc",
25582571
"src/utils/ostreams.h",
25592572
"src/utils/scoped-list.h",
@@ -2567,15 +2580,13 @@ filegroup(
25672580
"src/utils/version.h",
25682581
"src/zone/accounting-allocator.cc",
25692582
"src/zone/accounting-allocator.h",
2570-
"src/zone/compressed-zone-ptr.h",
25712583
"src/zone/type-stats.cc",
25722584
"src/zone/type-stats.h",
25732585
"src/zone/zone.cc",
25742586
"src/zone/zone.h",
25752587
"src/zone/zone-allocator.h",
25762588
"src/zone/zone-chunk-list.h",
25772589
"src/zone/zone-compact-set.h",
2578-
"src/zone/zone-compression.h",
25792590
"src/zone/zone-containers.h",
25802591
"src/zone/zone-hashmap.h",
25812592
"src/zone/zone-list.h",
@@ -2869,6 +2880,7 @@ filegroup(
28692880
"src/maglev/maglev-concurrent-dispatcher.cc",
28702881
"src/maglev/maglev-graph-builder.cc",
28712882
"src/maglev/maglev-graph-printer.cc",
2883+
"src/maglev/maglev-graph.cc",
28722884
"src/maglev/maglev-interpreter-frame-state.cc",
28732885
"src/maglev/maglev-ir.cc",
28742886
"src/maglev/maglev-phi-representation-selector.cc",
@@ -2939,6 +2951,8 @@ filegroup(
29392951
"src/wasm/baseline/parallel-move.cc",
29402952
"src/wasm/baseline/parallel-move.h",
29412953
"src/wasm/baseline/parallel-move-inl.h",
2954+
"src/wasm/basic-block-calculator.cc",
2955+
"src/wasm/basic-block-calculator.h",
29422956
"src/wasm/branch-hint-map.h",
29432957
"src/wasm/canonical-types.cc",
29442958
"src/wasm/canonical-types.h",
@@ -2995,6 +3009,7 @@ filegroup(
29953009
"src/wasm/value-type.h",
29963010
"src/wasm/wasm-arguments.h",
29973011
"src/wasm/wasm-builtin-list.h",
3012+
"src/wasm/wasm-code-coverage.h",
29983013
"src/wasm/wasm-code-manager.cc",
29993014
"src/wasm/wasm-code-manager.h",
30003015
"src/wasm/wasm-code-pointer-table.cc",
@@ -3009,6 +3024,8 @@ filegroup(
30093024
"src/wasm/wasm-disassembler-impl.h",
30103025
"src/wasm/wasm-engine.cc",
30113026
"src/wasm/wasm-engine.h",
3027+
"src/wasm/wasm-export-wrapper-cache.cc",
3028+
"src/wasm/wasm-export-wrapper-cache.h",
30123029
"src/wasm/wasm-external-refs.cc",
30133030
"src/wasm/wasm-external-refs.h",
30143031
"src/wasm/wasm-features.cc",
@@ -3148,7 +3165,6 @@ filegroup(
31483165
"src/compiler/backend/instruction-scheduler.h",
31493166
"src/compiler/backend/instruction-selector.cc",
31503167
"src/compiler/backend/instruction-selector.h",
3151-
"src/compiler/backend/instruction-selector-adapter.h",
31523168
"src/compiler/backend/instruction-selector-impl.h",
31533169
"src/compiler/backend/jump-threading.cc",
31543170
"src/compiler/backend/jump-threading.h",
@@ -3364,8 +3380,18 @@ filegroup(
33643380
"src/compiler/turboshaft/build-graph-phase.h",
33653381
"src/compiler/turboshaft/builtin-call-descriptors.h",
33663382
"src/compiler/turboshaft/builtin-compiler.h",
3367-
"src/compiler/turboshaft/csa-optimize-phase.cc",
3368-
"src/compiler/turboshaft/csa-optimize-phase.h",
3383+
"src/compiler/turboshaft/csa-branch-elimination-phase.cc",
3384+
"src/compiler/turboshaft/csa-branch-elimination-phase.h",
3385+
"src/compiler/turboshaft/csa-early-machine-optimization-phase.cc",
3386+
"src/compiler/turboshaft/csa-early-machine-optimization-phase.h",
3387+
"src/compiler/turboshaft/csa-effects-computation.cc",
3388+
"src/compiler/turboshaft/csa-effects-computation.h",
3389+
"src/compiler/turboshaft/csa-late-escape-analysis-phase.cc",
3390+
"src/compiler/turboshaft/csa-late-escape-analysis-phase.h",
3391+
"src/compiler/turboshaft/csa-load-elimination-phase.cc",
3392+
"src/compiler/turboshaft/csa-load-elimination-phase.h",
3393+
"src/compiler/turboshaft/csa-memory-optimization-phase.cc",
3394+
"src/compiler/turboshaft/csa-memory-optimization-phase.h",
33693395
"src/compiler/turboshaft/dataview-lowering-reducer.h",
33703396
"src/compiler/turboshaft/code-elimination-and-simplification-phase.cc",
33713397
"src/compiler/turboshaft/code-elimination-and-simplification-phase.h",
@@ -3393,6 +3419,7 @@ filegroup(
33933419
"src/compiler/turboshaft/graph-visualizer.cc",
33943420
"src/compiler/turboshaft/graph-visualizer.h",
33953421
"src/compiler/turboshaft/js-generic-lowering-reducer.h",
3422+
"src/compiler/turboshaft/if-else-cascade-to-switch-reducer.h",
33963423
"src/compiler/turboshaft/index.h",
33973424
"src/compiler/turboshaft/instruction-selection-normalization-reducer.h",
33983425
"src/compiler/turboshaft/instruction-selection-phase.cc",
@@ -3415,7 +3442,7 @@ filegroup(
34153442
"src/compiler/turboshaft/machine-lowering-phase.cc",
34163443
"src/compiler/turboshaft/machine-lowering-phase.h",
34173444
"src/compiler/turboshaft/machine-lowering-reducer-inl.h",
3418-
"src/compiler/turboshaft/maglev-early-lowering-reducer-inl.h",
3445+
"src/compiler/turboshaft/turbolev-early-lowering-reducer-inl.h",
34193446
"src/compiler/turboshaft/turbolev-graph-builder.cc",
34203447
"src/compiler/turboshaft/turbolev-graph-builder.h",
34213448
"src/compiler/turboshaft/machine-optimization-reducer.h",
@@ -3453,7 +3480,6 @@ filegroup(
34533480
"src/compiler/turboshaft/string-escape-analysis-reducer.cc",
34543481
"src/compiler/turboshaft/string-escape-analysis-reducer.h",
34553482
"src/compiler/turboshaft/string-view.h",
3456-
"src/compiler/turboshaft/structural-optimization-reducer.h",
34573483
"src/compiler/turboshaft/tracing.h",
34583484
"src/compiler/turboshaft/type-assertions-phase.cc",
34593485
"src/compiler/turboshaft/type-assertions-phase.h",
@@ -3614,6 +3640,7 @@ filegroup(
36143640
"src/maglev/maglev-compilation-unit.h",
36153641
"src/maglev/maglev-graph-builder.cc",
36163642
"src/maglev/maglev-graph-builder.h",
3643+
"src/maglev/maglev-graph.cc",
36173644
"src/maglev/maglev-graph.h",
36183645
"src/maglev/maglev-graph-labeller.h",
36193646
"src/maglev/maglev-graph-printer.cc",
@@ -3683,7 +3710,6 @@ filegroup(
36833710
"src/builtins/builtins-string-gen.cc",
36843711
"src/builtins/builtins-string-gen.h",
36853712
"src/builtins/builtins-string-tsa.cc",
3686-
"src/builtins/builtins-temporal-gen.cc",
36873713
"src/builtins/builtins-typed-array-gen.cc",
36883714
"src/builtins/builtins-typed-array-gen.h",
36893715
"src/builtins/builtins-utils-gen.h",
@@ -3885,6 +3911,17 @@ filegroup(
38853911
}),
38863912
)
38873913

3914+
v8_library(
3915+
name = "lib_dragonbox",
3916+
srcs = ["third_party/dragonbox/src/include/dragonbox/dragonbox.h"],
3917+
hdrs = [
3918+
"third_party/dragonbox/src/include/dragonbox/dragonbox.h",
3919+
],
3920+
includes = [
3921+
"third_party/dragonbox/src/include",
3922+
],
3923+
)
3924+
38883925
v8_library(
38893926
name = "lib_fp16",
38903927
srcs = ["third_party/fp16/src/include/fp16.h"],
@@ -4327,7 +4364,11 @@ v8_library(
43274364
":v8_shared_internal_headers",
43284365
],
43294366
copts = ["-Wno-implicit-fallthrough"],
4330-
deps = ["@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time"],
4367+
deps = [
4368+
"@abseil-cpp//absl/synchronization",
4369+
"@abseil-cpp//absl/time",
4370+
"@abseil-cpp//absl/functional:overload",
4371+
],
43314372
)
43324373

43334374
cc_library(
@@ -4361,6 +4402,12 @@ cc_library(
43614402
name = "simdutf",
43624403
srcs = ["third_party/simdutf/simdutf.cpp"],
43634404
hdrs = ["third_party/simdutf/simdutf.h"],
4405+
copts = select({
4406+
"@v8//bazel/config:is_clang": ["-std=c++20"],
4407+
"@v8//bazel/config:is_gcc": ["-std=gnu++2a"],
4408+
"@v8//bazel/config:is_windows": ["/std:c++20"],
4409+
"//conditions:default": [],
4410+
}),
43644411
)
43654412

43664413
v8_library(
@@ -4391,13 +4438,15 @@ v8_library(
43914438
":noicu/generated_torque_definitions",
43924439
],
43934440
deps = [
4441+
":lib_dragonbox",
43944442
"//third_party/fast_float/src:fast_float",
43954443
":lib_fp16",
43964444
":simdutf",
43974445
":v8_libbase",
43984446
"@abseil-cpp//absl/container:btree",
43994447
"@abseil-cpp//absl/container:flat_hash_map",
44004448
"@abseil-cpp//absl/container:flat_hash_set",
4449+
"@abseil-cpp//absl/functional:overload",
44014450
"@highway//:hwy",
44024451
],
44034452
)

0 commit comments

Comments
 (0)