Skip to content

Commit 6740793

Browse files
deps: update V8 to 13.9.102
1 parent b23648e commit 6740793

File tree

1,619 files changed

+70929
-51218
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,619 files changed

+70929
-51218
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: 58 additions & 17 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",
@@ -2453,6 +2461,7 @@ filegroup(
24532461
"src/sandbox/tagged-payload.h",
24542462
"src/sandbox/testing.cc",
24552463
"src/sandbox/testing.h",
2464+
"src/snapshot/builtins-effects-dummy.cc",
24562465
"src/snapshot/code-serializer.cc",
24572466
"src/snapshot/code-serializer.h",
24582467
"src/snapshot/context-deserializer.cc",
@@ -2526,8 +2535,9 @@ filegroup(
25262535
"src/tasks/operations-barrier.h",
25272536
"src/tasks/task-utils.cc",
25282537
"src/tasks/task-utils.h",
2529-
"src/temporal/temporal-parser.cc",
2530-
"src/temporal/temporal-parser.h",
2538+
# Temporal is currently gn-only
2539+
# "src/temporal/temporal-parser.cc",
2540+
# "src/temporal/temporal-parser.h",
25312541
"src/torque/runtime-macro-shims.h",
25322542
"src/tracing/trace-event.cc",
25332543
"src/tracing/trace-event.h",
@@ -2554,6 +2564,8 @@ filegroup(
25542564
"src/utils/locked-queue-inl.h",
25552565
"src/utils/memcopy.cc",
25562566
"src/utils/memcopy.h",
2567+
"src/utils/output-stream.cc",
2568+
"src/utils/output-stream.h",
25572569
"src/utils/ostreams.cc",
25582570
"src/utils/ostreams.h",
25592571
"src/utils/scoped-list.h",
@@ -2567,15 +2579,13 @@ filegroup(
25672579
"src/utils/version.h",
25682580
"src/zone/accounting-allocator.cc",
25692581
"src/zone/accounting-allocator.h",
2570-
"src/zone/compressed-zone-ptr.h",
25712582
"src/zone/type-stats.cc",
25722583
"src/zone/type-stats.h",
25732584
"src/zone/zone.cc",
25742585
"src/zone/zone.h",
25752586
"src/zone/zone-allocator.h",
25762587
"src/zone/zone-chunk-list.h",
25772588
"src/zone/zone-compact-set.h",
2578-
"src/zone/zone-compression.h",
25792589
"src/zone/zone-containers.h",
25802590
"src/zone/zone-hashmap.h",
25812591
"src/zone/zone-list.h",
@@ -2939,6 +2949,8 @@ filegroup(
29392949
"src/wasm/baseline/parallel-move.cc",
29402950
"src/wasm/baseline/parallel-move.h",
29412951
"src/wasm/baseline/parallel-move-inl.h",
2952+
"src/wasm/basic-block-calculator.cc",
2953+
"src/wasm/basic-block-calculator.h",
29422954
"src/wasm/branch-hint-map.h",
29432955
"src/wasm/canonical-types.cc",
29442956
"src/wasm/canonical-types.h",
@@ -2995,6 +3007,7 @@ filegroup(
29953007
"src/wasm/value-type.h",
29963008
"src/wasm/wasm-arguments.h",
29973009
"src/wasm/wasm-builtin-list.h",
3010+
"src/wasm/wasm-code-coverage.h",
29983011
"src/wasm/wasm-code-manager.cc",
29993012
"src/wasm/wasm-code-manager.h",
30003013
"src/wasm/wasm-code-pointer-table.cc",
@@ -3009,6 +3022,8 @@ filegroup(
30093022
"src/wasm/wasm-disassembler-impl.h",
30103023
"src/wasm/wasm-engine.cc",
30113024
"src/wasm/wasm-engine.h",
3025+
"src/wasm/wasm-export-wrapper-cache.cc",
3026+
"src/wasm/wasm-export-wrapper-cache.h",
30123027
"src/wasm/wasm-external-refs.cc",
30133028
"src/wasm/wasm-external-refs.h",
30143029
"src/wasm/wasm-features.cc",
@@ -3148,7 +3163,6 @@ filegroup(
31483163
"src/compiler/backend/instruction-scheduler.h",
31493164
"src/compiler/backend/instruction-selector.cc",
31503165
"src/compiler/backend/instruction-selector.h",
3151-
"src/compiler/backend/instruction-selector-adapter.h",
31523166
"src/compiler/backend/instruction-selector-impl.h",
31533167
"src/compiler/backend/jump-threading.cc",
31543168
"src/compiler/backend/jump-threading.h",
@@ -3364,8 +3378,18 @@ filegroup(
33643378
"src/compiler/turboshaft/build-graph-phase.h",
33653379
"src/compiler/turboshaft/builtin-call-descriptors.h",
33663380
"src/compiler/turboshaft/builtin-compiler.h",
3367-
"src/compiler/turboshaft/csa-optimize-phase.cc",
3368-
"src/compiler/turboshaft/csa-optimize-phase.h",
3381+
"src/compiler/turboshaft/csa-branch-elimination-phase.cc",
3382+
"src/compiler/turboshaft/csa-branch-elimination-phase.h",
3383+
"src/compiler/turboshaft/csa-early-machine-optimization-phase.cc",
3384+
"src/compiler/turboshaft/csa-early-machine-optimization-phase.h",
3385+
"src/compiler/turboshaft/csa-effects-computation.cc",
3386+
"src/compiler/turboshaft/csa-effects-computation.h",
3387+
"src/compiler/turboshaft/csa-late-escape-analysis-phase.cc",
3388+
"src/compiler/turboshaft/csa-late-escape-analysis-phase.h",
3389+
"src/compiler/turboshaft/csa-load-elimination-phase.cc",
3390+
"src/compiler/turboshaft/csa-load-elimination-phase.h",
3391+
"src/compiler/turboshaft/csa-memory-optimization-phase.cc",
3392+
"src/compiler/turboshaft/csa-memory-optimization-phase.h",
33693393
"src/compiler/turboshaft/dataview-lowering-reducer.h",
33703394
"src/compiler/turboshaft/code-elimination-and-simplification-phase.cc",
33713395
"src/compiler/turboshaft/code-elimination-and-simplification-phase.h",
@@ -3683,7 +3707,6 @@ filegroup(
36833707
"src/builtins/builtins-string-gen.cc",
36843708
"src/builtins/builtins-string-gen.h",
36853709
"src/builtins/builtins-string-tsa.cc",
3686-
"src/builtins/builtins-temporal-gen.cc",
36873710
"src/builtins/builtins-typed-array-gen.cc",
36883711
"src/builtins/builtins-typed-array-gen.h",
36893712
"src/builtins/builtins-utils-gen.h",
@@ -3885,6 +3908,17 @@ filegroup(
38853908
}),
38863909
)
38873910

3911+
v8_library(
3912+
name = "lib_dragonbox",
3913+
srcs = ["third_party/dragonbox/src/include/dragonbox/dragonbox.h"],
3914+
hdrs = [
3915+
"third_party/dragonbox/src/include/dragonbox/dragonbox.h",
3916+
],
3917+
includes = [
3918+
"third_party/dragonbox/src/include",
3919+
],
3920+
)
3921+
38883922
v8_library(
38893923
name = "lib_fp16",
38903924
srcs = ["third_party/fp16/src/include/fp16.h"],
@@ -4361,6 +4395,12 @@ cc_library(
43614395
name = "simdutf",
43624396
srcs = ["third_party/simdutf/simdutf.cpp"],
43634397
hdrs = ["third_party/simdutf/simdutf.h"],
4398+
copts = select({
4399+
"@v8//bazel/config:is_clang": ["-std=c++20"],
4400+
"@v8//bazel/config:is_gcc": ["-std=gnu++2a"],
4401+
"@v8//bazel/config:is_windows": ["/std:c++20"],
4402+
"//conditions:default": [],
4403+
}),
43644404
)
43654405

43664406
v8_library(
@@ -4391,6 +4431,7 @@ v8_library(
43914431
":noicu/generated_torque_definitions",
43924432
],
43934433
deps = [
4434+
":lib_dragonbox",
43944435
"//third_party/fast_float/src:fast_float",
43954436
":lib_fp16",
43964437
":simdutf",

0 commit comments

Comments
 (0)