Skip to content

Commit 12c7cf2

Browse files
deps: update V8 to 13.9.188
1 parent 214e4db commit 12c7cf2

File tree

1,774 files changed

+89911
-57994
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,774 files changed

+89911
-57994
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,14 @@ Junha Park <[email protected]>
183183
Junming Huang <[email protected]>
184184
Kang-Hao (Kenny) Lu <[email protected]>
185185
Karl Skomski <[email protected]>
186+
Kasper Lund <[email protected]>
186187
Keith Smiley <[email protected]>
187188
Kevin Gibbons <[email protected]>
188189
Keyhan Vakil <[email protected]>
189190
Kris Selden <[email protected]>
190191
Kyounga Ra <[email protected]>
191192
193+
LN Liberda <[email protected]>
192194
Loo Rong Jie <[email protected]>
193195
194196
Ludovic Mermod <[email protected]>
@@ -270,6 +272,7 @@ Sanjoy Das <[email protected]>
270272
Sam James <[email protected]>
271273
Sébastien Doeraene <[email protected]>
272274
Seo Sanghyeon <[email protected]>
275+
Sergey Markelov <[email protected]>
273276
Shawn Anastasio <[email protected]>
274277
Shawn Presser <[email protected]>
275278
Sho Miyamoto <[email protected]>
@@ -335,3 +338,4 @@ Jing Peiyang <[email protected]>
335338
magic-akari <[email protected]>
336339
Ryuhei Shima <[email protected]>
337340
Domagoj Stolfa <[email protected]>
341+
Zhijin Zeng <[email protected]>

deps/v8/BUILD.bazel

Lines changed: 74 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",
@@ -2857,6 +2868,8 @@ filegroup(
28572868
"src/maglev/maglev-pipeline-statistics.h",
28582869
"src/maglev/maglev-post-hoc-optimizations-processors.h",
28592870
"src/maglev/maglev-pre-regalloc-codegen-processors.h",
2871+
"src/maglev/maglev-reducer-inl.h",
2872+
"src/maglev/maglev-reducer.h",
28602873
"src/maglev/maglev-regalloc-data.h",
28612874
"src/maglev/maglev-regalloc.h",
28622875
"src/maglev/maglev-register-frame-array.h",
@@ -2869,6 +2882,7 @@ filegroup(
28692882
"src/maglev/maglev-concurrent-dispatcher.cc",
28702883
"src/maglev/maglev-graph-builder.cc",
28712884
"src/maglev/maglev-graph-printer.cc",
2885+
"src/maglev/maglev-graph.cc",
28722886
"src/maglev/maglev-interpreter-frame-state.cc",
28732887
"src/maglev/maglev-ir.cc",
28742888
"src/maglev/maglev-phi-representation-selector.cc",
@@ -2939,6 +2953,8 @@ filegroup(
29392953
"src/wasm/baseline/parallel-move.cc",
29402954
"src/wasm/baseline/parallel-move.h",
29412955
"src/wasm/baseline/parallel-move-inl.h",
2956+
"src/wasm/basic-block-calculator.cc",
2957+
"src/wasm/basic-block-calculator.h",
29422958
"src/wasm/branch-hint-map.h",
29432959
"src/wasm/canonical-types.cc",
29442960
"src/wasm/canonical-types.h",
@@ -2995,6 +3011,7 @@ filegroup(
29953011
"src/wasm/value-type.h",
29963012
"src/wasm/wasm-arguments.h",
29973013
"src/wasm/wasm-builtin-list.h",
3014+
"src/wasm/wasm-code-coverage.h",
29983015
"src/wasm/wasm-code-manager.cc",
29993016
"src/wasm/wasm-code-manager.h",
30003017
"src/wasm/wasm-code-pointer-table.cc",
@@ -3009,6 +3026,8 @@ filegroup(
30093026
"src/wasm/wasm-disassembler-impl.h",
30103027
"src/wasm/wasm-engine.cc",
30113028
"src/wasm/wasm-engine.h",
3029+
"src/wasm/wasm-export-wrapper-cache.cc",
3030+
"src/wasm/wasm-export-wrapper-cache.h",
30123031
"src/wasm/wasm-external-refs.cc",
30133032
"src/wasm/wasm-external-refs.h",
30143033
"src/wasm/wasm-features.cc",
@@ -3148,7 +3167,6 @@ filegroup(
31483167
"src/compiler/backend/instruction-scheduler.h",
31493168
"src/compiler/backend/instruction-selector.cc",
31503169
"src/compiler/backend/instruction-selector.h",
3151-
"src/compiler/backend/instruction-selector-adapter.h",
31523170
"src/compiler/backend/instruction-selector-impl.h",
31533171
"src/compiler/backend/jump-threading.cc",
31543172
"src/compiler/backend/jump-threading.h",
@@ -3364,8 +3382,18 @@ filegroup(
33643382
"src/compiler/turboshaft/build-graph-phase.h",
33653383
"src/compiler/turboshaft/builtin-call-descriptors.h",
33663384
"src/compiler/turboshaft/builtin-compiler.h",
3367-
"src/compiler/turboshaft/csa-optimize-phase.cc",
3368-
"src/compiler/turboshaft/csa-optimize-phase.h",
3385+
"src/compiler/turboshaft/csa-branch-elimination-phase.cc",
3386+
"src/compiler/turboshaft/csa-branch-elimination-phase.h",
3387+
"src/compiler/turboshaft/csa-early-machine-optimization-phase.cc",
3388+
"src/compiler/turboshaft/csa-early-machine-optimization-phase.h",
3389+
"src/compiler/turboshaft/csa-effects-computation.cc",
3390+
"src/compiler/turboshaft/csa-effects-computation.h",
3391+
"src/compiler/turboshaft/csa-late-escape-analysis-phase.cc",
3392+
"src/compiler/turboshaft/csa-late-escape-analysis-phase.h",
3393+
"src/compiler/turboshaft/csa-load-elimination-phase.cc",
3394+
"src/compiler/turboshaft/csa-load-elimination-phase.h",
3395+
"src/compiler/turboshaft/csa-memory-optimization-phase.cc",
3396+
"src/compiler/turboshaft/csa-memory-optimization-phase.h",
33693397
"src/compiler/turboshaft/dataview-lowering-reducer.h",
33703398
"src/compiler/turboshaft/code-elimination-and-simplification-phase.cc",
33713399
"src/compiler/turboshaft/code-elimination-and-simplification-phase.h",
@@ -3393,6 +3421,7 @@ filegroup(
33933421
"src/compiler/turboshaft/graph-visualizer.cc",
33943422
"src/compiler/turboshaft/graph-visualizer.h",
33953423
"src/compiler/turboshaft/js-generic-lowering-reducer.h",
3424+
"src/compiler/turboshaft/if-else-cascade-to-switch-reducer.h",
33963425
"src/compiler/turboshaft/index.h",
33973426
"src/compiler/turboshaft/instruction-selection-normalization-reducer.h",
33983427
"src/compiler/turboshaft/instruction-selection-phase.cc",
@@ -3415,7 +3444,7 @@ filegroup(
34153444
"src/compiler/turboshaft/machine-lowering-phase.cc",
34163445
"src/compiler/turboshaft/machine-lowering-phase.h",
34173446
"src/compiler/turboshaft/machine-lowering-reducer-inl.h",
3418-
"src/compiler/turboshaft/maglev-early-lowering-reducer-inl.h",
3447+
"src/compiler/turboshaft/turbolev-early-lowering-reducer-inl.h",
34193448
"src/compiler/turboshaft/turbolev-graph-builder.cc",
34203449
"src/compiler/turboshaft/turbolev-graph-builder.h",
34213450
"src/compiler/turboshaft/machine-optimization-reducer.h",
@@ -3453,7 +3482,6 @@ filegroup(
34533482
"src/compiler/turboshaft/string-escape-analysis-reducer.cc",
34543483
"src/compiler/turboshaft/string-escape-analysis-reducer.h",
34553484
"src/compiler/turboshaft/string-view.h",
3456-
"src/compiler/turboshaft/structural-optimization-reducer.h",
34573485
"src/compiler/turboshaft/tracing.h",
34583486
"src/compiler/turboshaft/type-assertions-phase.cc",
34593487
"src/compiler/turboshaft/type-assertions-phase.h",
@@ -3476,6 +3504,7 @@ filegroup(
34763504
"src/compiler/turboshaft/utils.h",
34773505
"src/compiler/turboshaft/value-numbering-reducer.h",
34783506
"src/compiler/turboshaft/variable-reducer.h",
3507+
"src/compiler/turboshaft/wasm-code-coverage-reducer.h",
34793508
"src/compiler/turboshaft/wasm-js-lowering-reducer.h",
34803509
"src/compiler/turboshaft/zone-with-name.h",
34813510
"src/compiler/type-cache.cc",
@@ -3614,6 +3643,7 @@ filegroup(
36143643
"src/maglev/maglev-compilation-unit.h",
36153644
"src/maglev/maglev-graph-builder.cc",
36163645
"src/maglev/maglev-graph-builder.h",
3646+
"src/maglev/maglev-graph.cc",
36173647
"src/maglev/maglev-graph.h",
36183648
"src/maglev/maglev-graph-labeller.h",
36193649
"src/maglev/maglev-graph-printer.cc",
@@ -3626,6 +3656,8 @@ filegroup(
36263656
"src/maglev/maglev-ir.cc",
36273657
"src/maglev/maglev-ir.h",
36283658
"src/maglev/maglev-ir-inl.h",
3659+
"src/maglev/maglev-reducer-inl.h",
3660+
"src/maglev/maglev-reducer.h",
36293661
"src/maglev/maglev-register-frame-array.h",
36303662
"src/maglev/maglev-phi-representation-selector.cc",
36313663
"src/maglev/maglev-phi-representation-selector.h",
@@ -3683,7 +3715,6 @@ filegroup(
36833715
"src/builtins/builtins-string-gen.cc",
36843716
"src/builtins/builtins-string-gen.h",
36853717
"src/builtins/builtins-string-tsa.cc",
3686-
"src/builtins/builtins-temporal-gen.cc",
36873718
"src/builtins/builtins-typed-array-gen.cc",
36883719
"src/builtins/builtins-typed-array-gen.h",
36893720
"src/builtins/builtins-utils-gen.h",
@@ -3885,6 +3916,17 @@ filegroup(
38853916
}),
38863917
)
38873918

3919+
v8_library(
3920+
name = "lib_dragonbox",
3921+
srcs = ["third_party/dragonbox/src/include/dragonbox/dragonbox.h"],
3922+
hdrs = [
3923+
"third_party/dragonbox/src/include/dragonbox/dragonbox.h",
3924+
],
3925+
includes = [
3926+
"third_party/dragonbox/src/include",
3927+
],
3928+
)
3929+
38883930
v8_library(
38893931
name = "lib_fp16",
38903932
srcs = ["third_party/fp16/src/include/fp16.h"],
@@ -4327,7 +4369,11 @@ v8_library(
43274369
":v8_shared_internal_headers",
43284370
],
43294371
copts = ["-Wno-implicit-fallthrough"],
4330-
deps = ["@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time"],
4372+
deps = [
4373+
"@abseil-cpp//absl/synchronization",
4374+
"@abseil-cpp//absl/time",
4375+
"@abseil-cpp//absl/functional:overload",
4376+
],
43314377
)
43324378

43334379
cc_library(
@@ -4361,6 +4407,12 @@ cc_library(
43614407
name = "simdutf",
43624408
srcs = ["third_party/simdutf/simdutf.cpp"],
43634409
hdrs = ["third_party/simdutf/simdutf.h"],
4410+
copts = select({
4411+
"@v8//bazel/config:is_clang": ["-std=c++20"],
4412+
"@v8//bazel/config:is_gcc": ["-std=gnu++2a"],
4413+
"@v8//bazel/config:is_windows": ["/std:c++20"],
4414+
"//conditions:default": [],
4415+
}),
43644416
)
43654417

43664418
v8_library(
@@ -4391,13 +4443,15 @@ v8_library(
43914443
":noicu/generated_torque_definitions",
43924444
],
43934445
deps = [
4446+
":lib_dragonbox",
43944447
"//third_party/fast_float/src:fast_float",
43954448
":lib_fp16",
43964449
":simdutf",
43974450
":v8_libbase",
43984451
"@abseil-cpp//absl/container:btree",
43994452
"@abseil-cpp//absl/container:flat_hash_map",
44004453
"@abseil-cpp//absl/container:flat_hash_set",
4454+
"@abseil-cpp//absl/functional:overload",
44014455
"@highway//:hwy",
44024456
],
44034457
)

0 commit comments

Comments
 (0)