Skip to content

Commit 309c4f0

Browse files
committed
deps: update V8 to 9.4.146.19
PR-URL: #40285 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
1 parent bcb9e9e commit 309c4f0

File tree

974 files changed

+27151
-20384
lines changed

Some content is hidden

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

974 files changed

+27151
-20384
lines changed

deps/v8/.ycm_extra_conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
114114
# should contain most/all of the interesting flags for other targets too.
115115
filename = os.path.join(v8_root, 'src', 'utils', 'utils.cc')
116116

117-
sys.path.append(os.path.join(v8_root, 'tools', 'ninja'))
117+
sys.path.append(os.path.join(v8_root, 'tools', 'vim'))
118118
from ninja_output import GetNinjaOutputDirectory
119119
out_dir = os.path.realpath(GetNinjaOutputDirectory(v8_root))
120120

@@ -133,7 +133,7 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
133133
# Ninja might execute several commands to build something. We want the last
134134
# clang command.
135135
clang_line = None
136-
for line in reversed(stdout.split('\n')):
136+
for line in reversed(stdout.decode('utf-8').splitlines()):
137137
if 'clang' in line:
138138
clang_line = line
139139
break

deps/v8/AUTHORS

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ Daniel Andersson <[email protected]>
8686
Daniel Bevenius <[email protected]>
8787
Daniel Dromboski <[email protected]>
8888
Daniel James <[email protected]>
89-
Darshan Sen <[email protected]>
9089
David Carlier <[email protected]>
9190
David Manouchehri <[email protected]>
9291
Deepak Mohan <[email protected]>

deps/v8/BUILD.bazel

+54-5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ load("@bazel_skylib//lib:selects.bzl", "selects")
66
load(
77
"@v8//:bazel/defs.bzl",
88
"v8_binary",
9+
"v8_build_config",
910
"v8_config",
1011
"v8_custom_config",
1112
"v8_raw_flag",
@@ -358,6 +359,7 @@ filegroup(
358359
srcs = [
359360
"include/cppgc/allocation.h",
360361
"include/cppgc/common.h",
362+
"include/cppgc/cross-thread-persistent.h",
361363
"include/cppgc/custom-space.h",
362364
"include/cppgc/default-platform.h",
363365
"include/cppgc/ephemeron-pair.h",
@@ -610,11 +612,14 @@ filegroup(
610612
srcs = [
611613
"src/builtins/aggregate-error.tq",
612614
"src/builtins/array-at.tq",
615+
"src/builtins/array-concat.tq",
613616
"src/builtins/array-copywithin.tq",
614617
"src/builtins/array-every.tq",
615618
"src/builtins/array-filter.tq",
616619
"src/builtins/array-find.tq",
617620
"src/builtins/array-findindex.tq",
621+
"src/builtins/array-findlast.tq",
622+
"src/builtins/array-findlastindex.tq",
618623
"src/builtins/array-foreach.tq",
619624
"src/builtins/array-from.tq",
620625
"src/builtins/array-isarray.tq",
@@ -716,6 +721,8 @@ filegroup(
716721
"src/builtins/typed-array-filter.tq",
717722
"src/builtins/typed-array-find.tq",
718723
"src/builtins/typed-array-findindex.tq",
724+
"src/builtins/typed-array-findlast.tq",
725+
"src/builtins/typed-array-findlastindex.tq",
719726
"src/builtins/typed-array-foreach.tq",
720727
"src/builtins/typed-array-from.tq",
721728
"src/builtins/typed-array-keys.tq",
@@ -1018,6 +1025,7 @@ filegroup(
10181025
"src/codegen/reloc-info.h",
10191026
"src/codegen/safepoint-table.cc",
10201027
"src/codegen/safepoint-table.h",
1028+
"src/codegen/script-details.h",
10211029
"src/codegen/signature.h",
10221030
"src/codegen/source-position-table.cc",
10231031
"src/codegen/source-position-table.h",
@@ -1041,8 +1049,8 @@ filegroup(
10411049
"src/common/message-template.h",
10421050
"src/common/ptr-compr-inl.h",
10431051
"src/common/ptr-compr.h",
1044-
"src/compiler-dispatcher/compiler-dispatcher.cc",
1045-
"src/compiler-dispatcher/compiler-dispatcher.h",
1052+
"src/compiler-dispatcher/lazy-compile-dispatcher.cc",
1053+
"src/compiler-dispatcher/lazy-compile-dispatcher.h",
10461054
"src/compiler-dispatcher/optimizing-compile-dispatcher.cc",
10471055
"src/compiler-dispatcher/optimizing-compile-dispatcher.h",
10481056
"src/date/date.cc",
@@ -1253,6 +1261,7 @@ filegroup(
12531261
"src/heap/invalidated-slots.h",
12541262
"src/heap/large-spaces.cc",
12551263
"src/heap/large-spaces.h",
1264+
"src/heap/linear-allocation-area.h",
12561265
"src/heap/list.h",
12571266
"src/heap/local-allocator-inl.h",
12581267
"src/heap/local-allocator.h",
@@ -1403,6 +1412,7 @@ filegroup(
14031412
"src/logging/counters-definitions.h",
14041413
"src/logging/counters.cc",
14051414
"src/logging/counters.h",
1415+
"src/logging/counters-scopes.h",
14061416
"src/logging/local-logger.cc",
14071417
"src/logging/local-logger.h",
14081418
"src/logging/log-inl.h",
@@ -1591,6 +1601,7 @@ filegroup(
15911601
"src/objects/prototype-info.h",
15921602
"src/objects/prototype.h",
15931603
"src/objects/prototype-inl.h",
1604+
"src/objects/regexp-match-info-inl.h",
15941605
"src/objects/regexp-match-info.h",
15951606
"src/objects/scope-info-inl.h",
15961607
"src/objects/scope-info.cc",
@@ -2433,9 +2444,6 @@ filegroup(
24332444
"src/compiler/scheduler.h",
24342445
"src/compiler/select-lowering.cc",
24352446
"src/compiler/select-lowering.h",
2436-
"src/compiler/serializer-for-background-compilation.cc",
2437-
"src/compiler/serializer-for-background-compilation.h",
2438-
"src/compiler/serializer-hints.h",
24392447
"src/compiler/simplified-lowering.cc",
24402448
"src/compiler/simplified-lowering.h",
24412449
"src/compiler/simplified-operator.cc",
@@ -2672,10 +2680,12 @@ filegroup(
26722680
"src/bigint/bigint-internal.h",
26732681
"src/bigint/bigint.h",
26742682
"src/bigint/digit-arithmetic.h",
2683+
"src/bigint/div-barrett.cc",
26752684
"src/bigint/div-burnikel.cc",
26762685
"src/bigint/div-helpers.cc",
26772686
"src/bigint/div-helpers.h",
26782687
"src/bigint/div-schoolbook.cc",
2688+
"src/bigint/fromstring.cc",
26792689
"src/bigint/mul-fft.cc",
26802690
"src/bigint/mul-karatsuba.cc",
26812691
"src/bigint/mul-schoolbook.cc",
@@ -3050,3 +3060,42 @@ v8_binary(
30503060
],
30513061
deps = [ ":v8" ],
30523062
)
3063+
3064+
# =================================================
3065+
# Tests
3066+
# =================================================
3067+
3068+
v8_build_config(
3069+
name = "v8_build_config",
3070+
)
3071+
3072+
# Runs mjunit with d8.
3073+
py_test(
3074+
name = "mjsunit",
3075+
size = "medium",
3076+
srcs = [
3077+
"test/mjsunit/testcfg.py",
3078+
"tools/predictable_wrapper.py",
3079+
"tools/run-tests.py",
3080+
] + glob(["tools/testrunner/**/*.py"]),
3081+
args = [
3082+
"--no-sorting",
3083+
"--nopresubmit",
3084+
# TODO(victorgomes): Create a flag to pass the variant in the cmdline.
3085+
"--variant=default",
3086+
"--outdir bazel-bin",
3087+
"mjsunit",
3088+
],
3089+
data = [
3090+
":v8_build_config",
3091+
":d8",
3092+
"test",
3093+
] + glob(["test/**"]) + glob(["tools/**/*.js"]) + glob(["tools/**/*.mjs"]),
3094+
main = "tools/run-tests.py",
3095+
# TODO(victorgomes): Move this to PY3.
3096+
python_version = "PY2",
3097+
tags = [
3098+
# Disable sanitizers, as they don't work in general in V8.
3099+
"nosan",
3100+
],
3101+
)

0 commit comments

Comments
 (0)