Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit16e03e7

Browse files
anonrignodejs-github-bot
authored andcommitted
deps: update V8 to 10.9.194.4
PR-URL:#45579Reviewed-By: Michaël Zasso <targos@protonmail.com>Reviewed-By: James M Snell <jasnell@gmail.com>
1 parentfac00cd commit16e03e7

File tree

876 files changed

+35936
-19111
lines changed

Some content is hidden

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

876 files changed

+35936
-19111
lines changed

‎deps/v8/.ycm_extra_conf.py

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
# Flags from YCM's default config.
4343
flags= [
4444
'-DUSE_CLANG_COMPLETER',
45-
'-std=gnu++14',
4645
'-x',
4746
'c++',
4847
]
@@ -143,25 +142,27 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
143142
# Parse flags that are important for YCM's purposes.
144143
forflaginclang_line.split(' '):
145144
ifflag.startswith('-I'):
146-
# Relative paths need to be resolved, because they're relative to the
147-
# output dir, not the source.
148-
ifflag[2]=='/':
149-
v8_flags.append(flag)
150-
else:
151-
abs_path=os.path.normpath(os.path.join(out_dir,flag[2:]))
152-
v8_flags.append('-I'+abs_path)
153-
elifflag.startswith('-std'):
145+
v8_flags.append(MakeIncludePathAbsolute(flag,"-I",out_dir))
146+
elifflag.startswith('-isystem'):
147+
v8_flags.append(MakeIncludePathAbsolute(flag,"-isystem",out_dir))
148+
elifflag.startswith('-std')orflag.startswith(
149+
'-pthread')orflag.startswith('-no'):
154150
v8_flags.append(flag)
155-
elifflag.startswith('-')andflag[1]in'DWFfmO':
156-
ifflag=='-Wno-deprecated-register'orflag=='-Wno-header-guard':
157-
# These flags causes libclang (3.3) to crash. Remove it until things
158-
# are fixed.
159-
continue
151+
elifflag.startswith('-')andflag[1]in'DWFfmgOX':
160152
v8_flags.append(flag)
161-
162153
returnv8_flags
163154

164155

156+
defMakeIncludePathAbsolute(flag,prefix,out_dir):
157+
# Relative paths need to be resolved, because they're relative to the
158+
# output dir, not the source.
159+
ifflag[len(prefix)]=='/':
160+
returnflag
161+
else:
162+
abs_path=os.path.normpath(os.path.join(out_dir,flag[len(prefix):]))
163+
returnprefix+abs_path
164+
165+
165166
defFlagsForFile(filename):
166167
"""This is the main entry point for YCM. Its interface is fixed.
167168
@@ -180,3 +181,9 @@ def FlagsForFile(filename):
180181
'flags':final_flags,
181182
'do_cache':True
182183
}
184+
185+
186+
defSettings(**kwargs):
187+
ifkwargs['language']=='cfamily':
188+
returnFlagsForFile(kwargs['filename'])
189+
return {}

‎deps/v8/AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Fedor Indutny <fedor@indutny.com>
114114
Felix Geisendörfer <haimuiba@gmail.com>
115115
Feng Yu <f3n67u@gmail.com>
116116
Filipe David Manana <fdmanana@gmail.com>
117+
Frank Lemanschik <frank@dspeed.eu>
117118
Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
118119
Gao Sheng <gaosheng08@meituan.com>
119120
Geoffrey Garside <ggarside@gmail.com>
@@ -152,6 +153,7 @@ Jiaxun Yang <jiaxun.yang@flygoat.com>
152153
Joel Stanley <joel@jms.id.au>
153154
Johan Bergström <johan@bergstroem.nu>
154155
Jonathan Liu <net147@gmail.com>
156+
Juan Arboleda <soyjuanarbol@gmail.com>
155157
Julien Brianceau <jbriance@cisco.com>
156158
JunHo Seo <sejunho@gmail.com>
157159
Junha Park <jpark3@scu.edu>

‎deps/v8/BUILD.bazel

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ load(":bazel/v8-non-pointer-compression.bzl", "v8_binary_non_pointer_compression
3939
# v8_enable_trace_baseline_exec
4040
# v8_enable_trace_feedback_updates
4141
# v8_enable_atomic_object_field_writes
42+
# v8_enable_conservative_stack_scanning
4243
# v8_enable_concurrent_marking
4344
# v8_enable_ignition_dispatch_counting
4445
# v8_enable_builtins_profiling
@@ -1381,6 +1382,8 @@ filegroup(
13811382
"src/handles/global-handles-inl.h",
13821383
"src/handles/global-handles.cc",
13831384
"src/handles/global-handles.h",
1385+
"src/handles/traced-handles.cc",
1386+
"src/handles/traced-handles.h",
13841387
"src/handles/handles-inl.h",
13851388
"src/handles/handles.cc",
13861389
"src/handles/handles.h",
@@ -1963,6 +1966,7 @@ filegroup(
19631966
"src/profiler/heap-snapshot-generator-inl.h",
19641967
"src/profiler/heap-snapshot-generator.cc",
19651968
"src/profiler/heap-snapshot-generator.h",
1969+
"src/profiler/output-stream-writer.h",
19661970
"src/profiler/profile-generator-inl.h",
19671971
"src/profiler/profile-generator.cc",
19681972
"src/profiler/profile-generator.h",
@@ -2664,6 +2668,8 @@ filegroup(
26642668
"src/compiler/all-nodes.h",
26652669
"src/compiler/allocation-builder.h",
26662670
"src/compiler/allocation-builder-inl.h",
2671+
"src/compiler/backend/bitcast-elider.cc",
2672+
"src/compiler/backend/bitcast-elider.h",
26672673
"src/compiler/backend/code-generator.cc",
26682674
"src/compiler/backend/code-generator.h",
26692675
"src/compiler/backend/code-generator-impl.h",
@@ -2887,7 +2893,7 @@ filegroup(
28872893
"src/compiler/turboshaft/graph.h",
28882894
"src/compiler/turboshaft/graph-visualizer.cc",
28892895
"src/compiler/turboshaft/graph-visualizer.h",
2890-
"src/compiler/turboshaft/machine-optimization-assembler.h",
2896+
"src/compiler/turboshaft/machine-optimization-reducer.h",
28912897
"src/compiler/turboshaft/operations.cc",
28922898
"src/compiler/turboshaft/operations.h",
28932899
"src/compiler/turboshaft/operation-matching.h",
@@ -2897,12 +2903,14 @@ filegroup(
28972903
"src/compiler/turboshaft/recreate-schedule.h",
28982904
"src/compiler/turboshaft/representations.cc",
28992905
"src/compiler/turboshaft/representations.h",
2906+
"src/compiler/turboshaft/select-lowering-reducer.h",
29002907
"src/compiler/turboshaft/sidetable.h",
29012908
"src/compiler/turboshaft/simplify-tf-loops.cc",
29022909
"src/compiler/turboshaft/simplify-tf-loops.h",
2910+
"src/compiler/turboshaft/snapshot-table.h",
29032911
"src/compiler/turboshaft/utils.cc",
29042912
"src/compiler/turboshaft/utils.h",
2905-
"src/compiler/turboshaft/value-numbering-assembler.h",
2913+
"src/compiler/turboshaft/value-numbering-reducer.h",
29062914
"src/compiler/type-cache.cc",
29072915
"src/compiler/type-cache.h",
29082916
"src/compiler/type-narrowing-reducer.cc",
@@ -3152,16 +3160,16 @@ filegroup(
31523160
# Note these cannot be v8_target_is_* selects because these contain
31533161
# inline assembly that runs inside the executable. Since these are
31543162
# linked directly into mksnapshot, they must use the actual target cpu.
3155-
"@v8//bazel/config:is_inline_asm_ia32": ["src/heap/base/asm/ia32/push_registers_asm.cc"],
3156-
"@v8//bazel/config:is_inline_asm_x64": ["src/heap/base/asm/x64/push_registers_asm.cc"],
3157-
"@v8//bazel/config:is_inline_asm_arm": ["src/heap/base/asm/arm/push_registers_asm.cc"],
3158-
"@v8//bazel/config:is_inline_asm_arm64": ["src/heap/base/asm/arm64/push_registers_asm.cc"],
3159-
"@v8//bazel/config:is_inline_asm_s390x": ["src/heap/base/asm/s390/push_registers_asm.cc"],
3160-
"@v8//bazel/config:is_inline_asm_riscv64": ["src/heap/base/asm/riscv64/push_registers_asm.cc"],
3161-
"@v8//bazel/config:is_inline_asm_ppc64le": ["src/heap/base/asm/ppc/push_registers_asm.cc"],
3162-
"@v8//bazel/config:is_msvc_asm_ia32": ["src/heap/base/asm/ia32/push_registers_masm.asm"],
3163-
"@v8//bazel/config:is_msvc_asm_x64": ["src/heap/base/asm/x64/push_registers_masm.asm"],
3164-
"@v8//bazel/config:is_msvc_asm_arm64": ["src/heap/base/asm/arm64/push_registers_masm.S"],
3163+
"@v8//bazel/config:is_inline_asm_ia32": ["src/heap/base/asm/ia32/save_registers_asm.cc"],
3164+
"@v8//bazel/config:is_inline_asm_x64": ["src/heap/base/asm/x64/save_registers_asm.cc"],
3165+
"@v8//bazel/config:is_inline_asm_arm": ["src/heap/base/asm/arm/save_registers_asm.cc"],
3166+
"@v8//bazel/config:is_inline_asm_arm64": ["src/heap/base/asm/arm64/save_registers_asm.cc"],
3167+
"@v8//bazel/config:is_inline_asm_s390x": ["src/heap/base/asm/s390/save_registers_asm.cc"],
3168+
"@v8//bazel/config:is_inline_asm_riscv64": ["src/heap/base/asm/riscv64/save_registers_asm.cc"],
3169+
"@v8//bazel/config:is_inline_asm_ppc64le": ["src/heap/base/asm/ppc/save_registers_asm.cc"],
3170+
"@v8//bazel/config:is_msvc_asm_ia32": ["src/heap/base/asm/ia32/save_registers_masm.asm"],
3171+
"@v8//bazel/config:is_msvc_asm_x64": ["src/heap/base/asm/x64/save_registers_masm.asm"],
3172+
"@v8//bazel/config:is_msvc_asm_arm64": ["src/heap/base/asm/arm64/save_registers_masm.S"],
31653173
}),
31663174
)
31673175

‎deps/v8/BUILD.gn

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,6 +1460,10 @@ config("toolchain") {
14601460
"/wd4715",# 'function' : not all control paths return a value'
14611461
# MSVC does not analyze switch (enum) for completeness.
14621462
]
1463+
1464+
# TODO(https://crbug.com/1377771): Keep MSVC on C++17 until source code is
1465+
# made compatible with C++20.
1466+
cflags_cc= ["/std:c++17" ]
14631467
}
14641468

14651469
if (!is_clang&&!is_win) {
@@ -1476,6 +1480,11 @@ config("toolchain") {
14761480
# Disable gcc warnings for using enum constant in boolean context.
14771481
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97266
14781482
"-Wno-int-in-bool-context",
1483+
1484+
# Disable gcc deprecation warnings, which are firing on implicit capture
1485+
# of `this` in capture-by-value lambdas and preventing a build roll which
1486+
# enables C++20 (see https://crbug.com/1374227).
1487+
"-Wno-deprecated",
14791488
]
14801489
}
14811490

@@ -2268,6 +2277,8 @@ action("v8_dump_build_config") {
22682277
"v8_current_cpu=\"$v8_current_cpu\"",
22692278
"v8_enable_atomic_object_field_writes="+
22702279
"$v8_enable_atomic_object_field_writes",
2280+
"v8_enable_conservative_stack_scanning="+
2281+
"$v8_enable_conservative_stack_scanning",
22712282
"v8_enable_concurrent_marking=$v8_enable_concurrent_marking",
22722283
"v8_enable_single_generation=$v8_enable_single_generation",
22732284
"v8_enable_i18n_support=$v8_enable_i18n_support",
@@ -2803,6 +2814,7 @@ v8_header_set("v8_internal_headers") {
28032814
"src/compiler/all-nodes.h",
28042815
"src/compiler/allocation-builder-inl.h",
28052816
"src/compiler/allocation-builder.h",
2817+
"src/compiler/backend/bitcast-elider.h",
28062818
"src/compiler/backend/code-generator-impl.h",
28072819
"src/compiler/backend/code-generator.h",
28082820
"src/compiler/backend/frame-elider.h",
@@ -2923,16 +2935,18 @@ v8_header_set("v8_internal_headers") {
29232935
"src/compiler/turboshaft/graph-builder.h",
29242936
"src/compiler/turboshaft/graph-visualizer.h",
29252937
"src/compiler/turboshaft/graph.h",
2926-
"src/compiler/turboshaft/machine-optimization-assembler.h",
2938+
"src/compiler/turboshaft/machine-optimization-reducer.h",
29272939
"src/compiler/turboshaft/operation-matching.h",
29282940
"src/compiler/turboshaft/operations.h",
29292941
"src/compiler/turboshaft/optimization-phase.h",
29302942
"src/compiler/turboshaft/recreate-schedule.h",
29312943
"src/compiler/turboshaft/representations.h",
2944+
"src/compiler/turboshaft/select-lowering-reducer.h",
29322945
"src/compiler/turboshaft/sidetable.h",
29332946
"src/compiler/turboshaft/simplify-tf-loops.h",
2947+
"src/compiler/turboshaft/snapshot-table.h",
29342948
"src/compiler/turboshaft/utils.h",
2935-
"src/compiler/turboshaft/value-numbering-assembler.h",
2949+
"src/compiler/turboshaft/value-numbering-reducer.h",
29362950
"src/compiler/type-cache.h",
29372951
"src/compiler/type-narrowing-reducer.h",
29382952
"src/compiler/typed-optimization.h",
@@ -3024,6 +3038,7 @@ v8_header_set("v8_internal_headers") {
30243038
"src/handles/maybe-handles.h",
30253039
"src/handles/persistent-handles.h",
30263040
"src/handles/shared-object-conveyor-handles.h",
3041+
"src/handles/traced-handles.h",
30273042
"src/heap/allocation-observer.h",
30283043
"src/heap/allocation-result.h",
30293044
"src/heap/allocation-stats.h",
@@ -3422,6 +3437,7 @@ v8_header_set("v8_internal_headers") {
34223437
"src/profiler/heap-profiler.h",
34233438
"src/profiler/heap-snapshot-generator-inl.h",
34243439
"src/profiler/heap-snapshot-generator.h",
3440+
"src/profiler/output-stream-writer.h",
34253441
"src/profiler/profile-generator-inl.h",
34263442
"src/profiler/profile-generator.h",
34273443
"src/profiler/profiler-listener.h",
@@ -4041,6 +4057,7 @@ v8_compiler_sources = [
40414057
"src/compiler/access-info.cc",
40424058
"src/compiler/add-type-assertions-reducer.cc",
40434059
"src/compiler/all-nodes.cc",
4060+
"src/compiler/backend/bitcast-elider.cc",
40444061
"src/compiler/backend/code-generator.cc",
40454062
"src/compiler/backend/frame-elider.cc",
40464063
"src/compiler/backend/gap-resolver.cc",
@@ -4429,6 +4446,7 @@ v8_source_set("v8_base_without_compiler") {
44294446
"src/handles/local-handles.cc",
44304447
"src/handles/persistent-handles.cc",
44314448
"src/handles/shared-object-conveyor-handles.cc",
4449+
"src/handles/traced-handles.cc",
44324450
"src/heap/allocation-observer.cc",
44334451
"src/heap/array-buffer-sweeper.cc",
44344452
"src/heap/base-space.cc",
@@ -4737,6 +4755,7 @@ v8_source_set("v8_base_without_compiler") {
47374755

47384756
if (v8_enable_maglev) {
47394757
sources+= [
4758+
"src/maglev/maglev-assembler.cc",
47404759
"src/maglev/maglev-code-generator.cc",
47414760
"src/maglev/maglev-compilation-info.cc",
47424761
"src/maglev/maglev-compilation-unit.cc",
@@ -5745,31 +5764,31 @@ v8_source_set("v8_heap_base") {
57455764

57465765
if (is_clang||!is_win) {
57475766
if (current_cpu=="x64") {
5748-
sources+= ["src/heap/base/asm/x64/push_registers_asm.cc" ]
5767+
sources+= ["src/heap/base/asm/x64/save_registers_asm.cc" ]
57495768
}elseif (current_cpu=="x86") {
5750-
sources+= ["src/heap/base/asm/ia32/push_registers_asm.cc" ]
5769+
sources+= ["src/heap/base/asm/ia32/save_registers_asm.cc" ]
57515770
}elseif (current_cpu=="arm") {
5752-
sources+= ["src/heap/base/asm/arm/push_registers_asm.cc" ]
5771+
sources+= ["src/heap/base/asm/arm/save_registers_asm.cc" ]
57535772
}elseif (current_cpu=="arm64") {
5754-
sources+= ["src/heap/base/asm/arm64/push_registers_asm.cc" ]
5773+
sources+= ["src/heap/base/asm/arm64/save_registers_asm.cc" ]
57555774
}elseif (current_cpu=="ppc64") {
5756-
sources+= ["src/heap/base/asm/ppc/push_registers_asm.cc" ]
5775+
sources+= ["src/heap/base/asm/ppc/save_registers_asm.cc" ]
57575776
}elseif (current_cpu=="s390x") {
5758-
sources+= ["src/heap/base/asm/s390/push_registers_asm.cc" ]
5777+
sources+= ["src/heap/base/asm/s390/save_registers_asm.cc" ]
57595778
}elseif (current_cpu=="mips64el") {
5760-
sources+= ["src/heap/base/asm/mips64/push_registers_asm.cc" ]
5779+
sources+= ["src/heap/base/asm/mips64/save_registers_asm.cc" ]
57615780
}elseif (current_cpu=="loong64") {
5762-
sources+= ["src/heap/base/asm/loong64/push_registers_asm.cc" ]
5781+
sources+= ["src/heap/base/asm/loong64/save_registers_asm.cc" ]
57635782
}elseif (current_cpu=="riscv64"||current_cpu=="riscv32") {
5764-
sources+= ["src/heap/base/asm/riscv/push_registers_asm.cc" ]
5783+
sources+= ["src/heap/base/asm/riscv/save_registers_asm.cc" ]
57655784
}
57665785
}elseif (is_win) {
57675786
if (current_cpu=="x64") {
5768-
sources+= ["src/heap/base/asm/x64/push_registers_masm.asm" ]
5787+
sources+= ["src/heap/base/asm/x64/save_registers_masm.asm" ]
57695788
}elseif (current_cpu=="x86") {
5770-
sources+= ["src/heap/base/asm/ia32/push_registers_masm.asm" ]
5789+
sources+= ["src/heap/base/asm/ia32/save_registers_masm.asm" ]
57715790
}elseif (current_cpu=="arm64") {
5772-
sources+= ["src/heap/base/asm/arm64/push_registers_masm.S" ]
5791+
sources+= ["src/heap/base/asm/arm64/save_registers_masm.S" ]
57735792
}
57745793
}
57755794

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp