Skip to content

Commit cc5792d

Browse files
targosmarco-ippolito
authored andcommitted
deps: update V8 to 12.3.219.16
PR-URL: #52293 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 25c79f3 commit cc5792d

File tree

1,085 files changed

+35290
-19020
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,085 files changed

+35290
-19020
lines changed

deps/v8/.gitignore

+7-5
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,10 @@
6363
/test/wasm-spec-tests/tests.tar.gz
6464
/third_party/*
6565
!/third_party/antlr4
66-
!/third_party/cpu_features
67-
/third_party/cpu_features/src
68-
!/third_party/inspector_protocol
69-
!/third_party/jsoncpp
70-
/third_party/jsoncpp/source
7166
!/third_party/colorama
7267
/third_party/colorama/src
68+
!/third_party/cpu_features
69+
/third_party/cpu_features/src
7370
!/third_party/glibc
7471
!/third_party/googletest
7572
/third_party/googletest/src/*
@@ -80,6 +77,11 @@
8077
!/third_party/googletest/src/googletest/include/gtest
8178
/third_party/googletest/src/googletest/include/gtest/*
8279
!/third_party/googletest/src/googletest/include/gtest/gtest_prod.h
80+
!/third_party/inspector_protocol
81+
!/third_party/jsoncpp
82+
/third_party/jsoncpp/source
83+
!/third_party/re2
84+
/third_party/re2/src
8385
!/third_party/test262-harness
8486
!/third_party/v8
8587
!/third_party/wasm-api

deps/v8/AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -311,3 +311,4 @@ Zhongping Wang <kewpie.w.zp@gmail.com>
311311
Yang Xiang <xiangyangemail@gmail.com>
312312
Kotaro Ohsugi <dec4m4rk@gmail.com>
313313
Jing Peiyang <jingpeiyang@eswincomputing.com>
314+
magic-akari <akari.ccino@gmail.com>

deps/v8/BUILD.bazel

+11-6
Original file line numberDiff line numberDiff line change
@@ -1689,6 +1689,8 @@ filegroup(
16891689
"src/heap/memory-balancer.h",
16901690
"src/heap/memory-chunk.cc",
16911691
"src/heap/memory-chunk.h",
1692+
"src/heap/memory-chunk-header.cc",
1693+
"src/heap/memory-chunk-header.h",
16921694
"src/heap/memory-chunk-inl.h",
16931695
"src/heap/memory-chunk-layout.cc",
16941696
"src/heap/memory-chunk-layout.h",
@@ -2792,6 +2794,7 @@ filegroup(
27922794
"src/wasm/code-space-access.cc",
27932795
"src/wasm/code-space-access.h",
27942796
"src/wasm/compilation-environment.h",
2797+
"src/wasm/compilation-environment-inl.h",
27952798
"src/wasm/constant-expression.cc",
27962799
"src/wasm/constant-expression.h",
27972800
"src/wasm/constant-expression-interface.cc",
@@ -2883,6 +2886,7 @@ filegroup(
28832886
"src/wasm/wasm-value.h",
28842887
"src/wasm/well-known-imports.cc",
28852888
"src/wasm/well-known-imports.h",
2889+
"src/wasm/wrappers.cc",
28862890
],
28872891
"//conditions:default": [],
28882892
}),
@@ -3011,6 +3015,8 @@ filegroup(
30113015
"src/compiler/compiler-source-position-table.h",
30123016
"src/compiler/constant-folding-reducer.cc",
30133017
"src/compiler/constant-folding-reducer.h",
3018+
"src/compiler/const-tracking-let-helpers.cc",
3019+
"src/compiler/const-tracking-let-helpers.h",
30143020
"src/compiler/control-equivalence.cc",
30153021
"src/compiler/control-equivalence.h",
30163022
"src/compiler/control-flow-optimizer.cc",
@@ -3185,7 +3191,7 @@ filegroup(
31853191
"src/compiler/turboshaft/builtin-call-descriptors.h",
31863192
"src/compiler/turboshaft/csa-optimize-phase.cc",
31873193
"src/compiler/turboshaft/csa-optimize-phase.h",
3188-
"src/compiler/turboshaft/dataview-reducer.h",
3194+
"src/compiler/turboshaft/dataview-lowering-reducer.h",
31893195
"src/compiler/turboshaft/code-elimination-and-simplification-phase.cc",
31903196
"src/compiler/turboshaft/code-elimination-and-simplification-phase.h",
31913197
"src/compiler/turboshaft/dead-code-elimination-reducer.h",
@@ -3199,7 +3205,7 @@ filegroup(
31993205
"src/compiler/turboshaft/define-assembler-macros.inc",
32003206
"src/compiler/turboshaft/deopt-data.h",
32013207
"src/compiler/turboshaft/explicit-truncation-reducer.h",
3202-
"src/compiler/turboshaft/fast-api-call-reducer.h",
3208+
"src/compiler/turboshaft/fast-api-call-lowering-reducer.h",
32033209
"src/compiler/turboshaft/fast-hash.h",
32043210
"src/compiler/turboshaft/graph.cc",
32053211
"src/compiler/turboshaft/graph.h",
@@ -3249,7 +3255,6 @@ filegroup(
32493255
"src/compiler/turboshaft/recreate-schedule.h",
32503256
"src/compiler/turboshaft/recreate-schedule-phase.cc",
32513257
"src/compiler/turboshaft/recreate-schedule-phase.h",
3252-
"src/compiler/turboshaft/reduce-args-helper.h",
32533258
"src/compiler/turboshaft/reducer-traits.h",
32543259
"src/compiler/turboshaft/representations.cc",
32553260
"src/compiler/turboshaft/representations.h",
@@ -3265,7 +3270,7 @@ filegroup(
32653270
"src/compiler/turboshaft/simplify-tf-loops.h",
32663271
"src/compiler/turboshaft/snapshot-table.h",
32673272
"src/compiler/turboshaft/snapshot-table-opindex.h",
3268-
"src/compiler/turboshaft/stack-check-reducer.h",
3273+
"src/compiler/turboshaft/stack-check-lowering-reducer.h",
32693274
"src/compiler/turboshaft/store-store-elimination-phase.cc",
32703275
"src/compiler/turboshaft/store-store-elimination-phase.h",
32713276
"src/compiler/turboshaft/store-store-elimination-reducer.h",
@@ -3374,8 +3379,8 @@ filegroup(
33743379
"src/compiler/turboshaft/wasm-assembler-helpers.h",
33753380
"src/compiler/turboshaft/wasm-gc-optimize-phase.cc",
33763381
"src/compiler/turboshaft/wasm-gc-optimize-phase.h",
3377-
"src/compiler/turboshaft/wasm-gc-type-reducer.cc",
3378-
"src/compiler/turboshaft/wasm-gc-type-reducer.h",
3382+
"src/compiler/turboshaft/wasm-gc-typed-optimization-reducer.cc",
3383+
"src/compiler/turboshaft/wasm-gc-typed-optimization-reducer.h",
33793384
"src/compiler/turboshaft/wasm-load-elimination-reducer.h",
33803385
"src/compiler/turboshaft/wasm-lowering-phase.cc",
33813386
"src/compiler/turboshaft/wasm-lowering-phase.h",

deps/v8/BUILD.gn

+41-27
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,9 @@ config("features") {
11491149
if (v8_fuzzilli) {
11501150
defines += [ "V8_FUZZILLI" ]
11511151
}
1152+
if (v8_enable_fuzztest) {
1153+
defines += [ "V8_ENABLE_FUZZTEST" ]
1154+
}
11521155
if (v8_enable_short_builtin_calls) {
11531156
defines += [ "V8_SHORT_BUILTIN_CALLS" ]
11541157
}
@@ -1482,7 +1485,6 @@ config("toolchain") {
14821485

14831486
if (is_clang) {
14841487
cflags += [
1485-
"-Wmissing-field-initializers",
14861488
"-Wunreachable-code",
14871489

14881490
# TODO(v8:12245): Fix shadowing instances and remove.
@@ -1496,11 +1498,6 @@ config("toolchain") {
14961498
# warning.
14971499
cflags += [ "-Wctad-maybe-unsupported" ]
14981500
}
1499-
1500-
if (v8_current_cpu == "x64" || v8_current_cpu == "arm64" ||
1501-
v8_current_cpu == "mips64el" || v8_current_cpu == "riscv64") {
1502-
cflags += [ "-Wshorten-64-to-32" ]
1503-
}
15041501
}
15051502

15061503
if (is_clang || !is_win) {
@@ -1700,20 +1697,6 @@ config("toolchain") {
17001697
# Fix build with older versions of GCC
17011698
# Ported from v8 bazel: https://crrev.com/c/3368869
17021699
"-Wno-stringop-overflow",
1703-
1704-
# Fix a number of bogus errors with gcc12
1705-
# TODO(miladfarca): re-evaluate for future gcc upgrades
1706-
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111499
1707-
"-Wno-stringop-overread",
1708-
1709-
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336
1710-
"-Wno-restrict",
1711-
1712-
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
1713-
"-Wno-array-bounds",
1714-
1715-
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517
1716-
"-Wno-nonnull",
17171700
]
17181701
}
17191702

@@ -1723,6 +1706,17 @@ config("toolchain") {
17231706
}
17241707
}
17251708

1709+
config("strict_warnings") {
1710+
cflags = []
1711+
if (is_clang) {
1712+
if (v8_current_cpu == "x64" || v8_current_cpu == "arm64" ||
1713+
v8_current_cpu == "mips64el" || v8_current_cpu == "riscv64") {
1714+
cflags += [ "-Wshorten-64-to-32" ]
1715+
}
1716+
cflags += [ "-Wmissing-field-initializers" ]
1717+
}
1718+
}
1719+
17261720
# For code that is hot during mksnapshot. In fast-mksnapshot builds, we
17271721
# optimize some files even in debug builds to speed up mksnapshot times.
17281722
config("always_turbofanimize") {
@@ -3304,6 +3298,7 @@ v8_header_set("v8_internal_headers") {
33043298
"src/compiler/common-operator.h",
33053299
"src/compiler/compilation-dependencies.h",
33063300
"src/compiler/compiler-source-position-table.h",
3301+
"src/compiler/const-tracking-let-helpers.h",
33073302
"src/compiler/constant-folding-reducer.h",
33083303
"src/compiler/control-equivalence.h",
33093304
"src/compiler/control-flow-optimizer.h",
@@ -3401,7 +3396,7 @@ v8_header_set("v8_internal_headers") {
34013396
"src/compiler/turboshaft/code-elimination-and-simplification-phase.h",
34023397
"src/compiler/turboshaft/copying-phase.h",
34033398
"src/compiler/turboshaft/csa-optimize-phase.h",
3404-
"src/compiler/turboshaft/dataview-reducer.h",
3399+
"src/compiler/turboshaft/dataview-lowering-reducer.h",
34053400
"src/compiler/turboshaft/dead-code-elimination-reducer.h",
34063401
"src/compiler/turboshaft/debug-feature-lowering-phase.h",
34073402
"src/compiler/turboshaft/debug-feature-lowering-reducer.h",
@@ -3411,7 +3406,7 @@ v8_header_set("v8_internal_headers") {
34113406
"src/compiler/turboshaft/deopt-data.h",
34123407
"src/compiler/turboshaft/duplication-optimization-reducer.h",
34133408
"src/compiler/turboshaft/explicit-truncation-reducer.h",
3414-
"src/compiler/turboshaft/fast-api-call-reducer.h",
3409+
"src/compiler/turboshaft/fast-api-call-lowering-reducer.h",
34153410
"src/compiler/turboshaft/fast-hash.h",
34163411
"src/compiler/turboshaft/graph-builder.h",
34173412
"src/compiler/turboshaft/graph-visualizer.h",
@@ -3440,7 +3435,6 @@ v8_header_set("v8_internal_headers") {
34403435
"src/compiler/turboshaft/pretenuring-propagation-reducer.h",
34413436
"src/compiler/turboshaft/recreate-schedule-phase.h",
34423437
"src/compiler/turboshaft/recreate-schedule.h",
3443-
"src/compiler/turboshaft/reduce-args-helper.h",
34443438
"src/compiler/turboshaft/reducer-traits.h",
34453439
"src/compiler/turboshaft/representations.h",
34463440
"src/compiler/turboshaft/required-optimization-reducer.h",
@@ -3452,7 +3446,7 @@ v8_header_set("v8_internal_headers") {
34523446
"src/compiler/turboshaft/simplify-tf-loops.h",
34533447
"src/compiler/turboshaft/snapshot-table-opindex.h",
34543448
"src/compiler/turboshaft/snapshot-table.h",
3455-
"src/compiler/turboshaft/stack-check-reducer.h",
3449+
"src/compiler/turboshaft/stack-check-lowering-reducer.h",
34563450
"src/compiler/turboshaft/store-store-elimination-phase.h",
34573451
"src/compiler/turboshaft/store-store-elimination-reducer.h",
34583452
"src/compiler/turboshaft/structural-optimization-reducer.h",
@@ -3640,6 +3634,7 @@ v8_header_set("v8_internal_headers") {
36403634
"src/heap/marking.h",
36413635
"src/heap/memory-allocator.h",
36423636
"src/heap/memory-balancer.h",
3637+
"src/heap/memory-chunk-header.h",
36433638
"src/heap/memory-chunk-inl.h",
36443639
"src/heap/memory-chunk-layout.h",
36453640
"src/heap/memory-chunk.h",
@@ -4136,6 +4131,12 @@ v8_header_set("v8_internal_headers") {
41364131

41374132
if (v8_use_perfetto) {
41384133
sources -= [ "//base/trace_event/common/trace_event_common.h" ]
4134+
sources += [
4135+
"src/tracing/code-data-source.h",
4136+
"src/tracing/code-trace-context.h",
4137+
"src/tracing/perfetto-logger.h",
4138+
"src/tracing/perfetto-utils.h",
4139+
]
41394140
}
41404141

41414142
if (v8_enable_sparkplug) {
@@ -4195,7 +4196,7 @@ v8_header_set("v8_internal_headers") {
41954196
"src/compiler/turboshaft/int64-lowering-reducer.h",
41964197
"src/compiler/turboshaft/wasm-assembler-helpers.h",
41974198
"src/compiler/turboshaft/wasm-gc-optimize-phase.h",
4198-
"src/compiler/turboshaft/wasm-gc-type-reducer.h",
4199+
"src/compiler/turboshaft/wasm-gc-typed-optimization-reducer.h",
41994200
"src/compiler/turboshaft/wasm-js-lowering-reducer.h",
42004201
"src/compiler/turboshaft/wasm-load-elimination-reducer.h",
42014202
"src/compiler/turboshaft/wasm-lowering-phase.h",
@@ -4230,6 +4231,7 @@ v8_header_set("v8_internal_headers") {
42304231
"src/wasm/baseline/parallel-move.h",
42314232
"src/wasm/canonical-types.h",
42324233
"src/wasm/code-space-access.h",
4234+
"src/wasm/compilation-environment-inl.h",
42334235
"src/wasm/compilation-environment.h",
42344236
"src/wasm/constant-expression-interface.h",
42354237
"src/wasm/constant-expression.h",
@@ -4759,6 +4761,7 @@ v8_compiler_sources = [
47594761
"src/compiler/common-operator.cc",
47604762
"src/compiler/compilation-dependencies.cc",
47614763
"src/compiler/compiler-source-position-table.cc",
4764+
"src/compiler/const-tracking-let-helpers.cc",
47624765
"src/compiler/constant-folding-reducer.cc",
47634766
"src/compiler/control-equivalence.cc",
47644767
"src/compiler/control-flow-optimizer.cc",
@@ -4935,7 +4938,7 @@ if (v8_enable_webassembly) {
49354938
"src/compiler/int64-lowering.cc",
49364939
"src/compiler/turboshaft/int64-lowering-phase.cc",
49374940
"src/compiler/turboshaft/wasm-gc-optimize-phase.cc",
4938-
"src/compiler/turboshaft/wasm-gc-type-reducer.cc",
4941+
"src/compiler/turboshaft/wasm-gc-typed-optimization-reducer.cc",
49394942
"src/compiler/turboshaft/wasm-lowering-phase.cc",
49404943
"src/compiler/turboshaft/wasm-optimize-phase.cc",
49414944
"src/compiler/turboshaft/wasm-turboshaft-compiler.cc",
@@ -5330,6 +5333,7 @@ v8_source_set("v8_base_without_compiler") {
53305333
"src/heap/marking.cc",
53315334
"src/heap/memory-allocator.cc",
53325335
"src/heap/memory-balancer.cc",
5336+
"src/heap/memory-chunk-header.cc",
53335337
"src/heap/memory-chunk-layout.cc",
53345338
"src/heap/memory-chunk.cc",
53355339
"src/heap/memory-measurement.cc",
@@ -5651,6 +5655,14 @@ v8_source_set("v8_base_without_compiler") {
56515655
}
56525656
}
56535657

5658+
if (v8_use_perfetto) {
5659+
sources += [
5660+
"src/tracing/code-data-source.cc",
5661+
"src/tracing/perfetto-logger.cc",
5662+
"src/tracing/perfetto-utils.cc",
5663+
]
5664+
}
5665+
56545666
if (v8_enable_webassembly) {
56555667
sources += [
56565668
### gcmole(all) ###
@@ -5706,6 +5718,7 @@ v8_source_set("v8_base_without_compiler") {
57065718
"src/wasm/wasm-serialization.cc",
57075719
"src/wasm/wasm-subtyping.cc",
57085720
"src/wasm/well-known-imports.cc",
5721+
"src/wasm/wrappers.cc",
57095722
]
57105723
}
57115724

@@ -8131,14 +8144,15 @@ if (!build_with_chromium && v8_use_perfetto) {
81318144
"//third_party/perfetto/src/tracing/core",
81328145

81338146
# TODO(skyostil): Support non-POSIX platforms.
8134-
"//third_party/perfetto/protos/perfetto/config:cpp",
81358147
"//third_party/perfetto/protos/perfetto/trace/track_event:zero",
81368148
"//third_party/perfetto/src/tracing:in_process_backend",
81378149
"//third_party/perfetto/src/tracing:platform_impl",
81388150
]
81398151

81408152
public_deps = [
81418153
"//third_party/perfetto/include/perfetto/trace_processor",
8154+
"//third_party/perfetto/protos/perfetto/config:cpp",
8155+
"//third_party/perfetto/protos/perfetto/trace/chrome:zero",
81428156
"//third_party/perfetto/src/trace_processor:export_json",
81438157
"//third_party/perfetto/src/tracing:client_api",
81448158
]

0 commit comments

Comments
 (0)