Skip to content

Commit 2883c85

Browse files
committed
deps: update V8 to 8.1.307.20
PR-URL: #32116 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 5f0af2a commit 2883c85

File tree

2,056 files changed

+123228
-148204
lines changed

Some content is hidden

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

2,056 files changed

+123228
-148204
lines changed

deps/v8/.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
.#*
2525
.*.sw?
2626
.ccls-cache
27+
.clangd
2728
.cpplint-cache
2829
.cproject
2930
.gclient_entries
@@ -99,6 +100,7 @@ compile_commands.json
99100
gccauses
100101
gcsuspects
101102
gtags.files
103+
jit-*.dump
102104
node_modules
103105
tags
104106
turbo*.cfg
@@ -108,3 +110,7 @@ v8.ignition_dispatches_table.json
108110

109111
!/third_party/jinja2
110112
!/third_party/markupsafe
113+
!/third_party/zlib
114+
/third_party/zlib/contrib/bench
115+
/third_party/zlib/contrib/tests
116+
/third_party/zlib/google/test

deps/v8/.ycm_extra_conf.py

+8-19
Original file line numberDiff line numberDiff line change
@@ -103,27 +103,16 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
103103
# Header files can't be built. Instead, try to match a header file to its
104104
# corresponding source file.
105105
if filename.endswith('.h'):
106-
alternates = ['.cc', '.cpp']
107-
for alt_extension in alternates:
108-
alt_name = filename[:-2] + alt_extension
109-
if os.path.exists(alt_name):
110-
filename = alt_name
106+
base = filename[:-6] if filename.endswith('-inl.h') else filename[:-2]
107+
for alternate in [base + e for e in ['.cc', '.cpp']]:
108+
if os.path.exists(alternate):
109+
filename = alternate
111110
break
112111
else:
113-
if filename.endswith('-inl.h'):
114-
for alt_extension in alternates:
115-
alt_name = filename[:-6] + alt_extension
116-
if os.path.exists(alt_name):
117-
filename = alt_name
118-
break;
119-
else:
120-
# If this is a standalone -inl.h file with no source, the best we can
121-
# do is try to use the default flags.
122-
return v8_flags
123-
else:
124-
# If this is a standalone .h file with no source, the best we can do is
125-
# try to use the default flags.
126-
return v8_flags
112+
# If this is a standalone .h file with no source, we ask ninja for the
113+
# compile flags of some generic cc file ('src/utils/utils.cc'). This
114+
# should contain most/all of the interesting flags for other targets too.
115+
filename = os.path.join(v8_root, 'src', 'utils', 'utils.cc')
127116

128117
sys.path.append(os.path.join(v8_root, 'tools', 'ninja'))
129118
from ninja_output import GetNinjaOutputDirectory

deps/v8/AUTHORS

+5
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Bert Belder <[email protected]>
6868
Burcu Dogan <[email protected]>
6969
Caitlin Potter <[email protected]>
7070
Craig Schlenter <[email protected]>
71+
Chengzhong Wu <[email protected]>
7172
Choongwoo Han <[email protected]>
7273
Chris Nardi <[email protected]>
7374
Christopher A. Taylor <[email protected]>
@@ -95,6 +96,7 @@ Hannu Trey <[email protected]>
9596
Henrique Ferreiro <[email protected]>
9697
Hirofumi Mako <[email protected]>
9798
Honggyu Kim <[email protected]>
99+
Huáng Jùnliàng <[email protected]>
98100
Ingvar Stepanyan <[email protected]>
99101
Ioseb Dzmanashvili <[email protected]>
100102
Isiah Meadows <[email protected]>
@@ -196,7 +198,10 @@ Wiktor Garbacz <[email protected]>
196198
Xiaoyin Liu <[email protected]>
197199
Yannic Bonenberger <[email protected]>
198200
Yong Wang <[email protected]>
201+
Youfeng Hao <[email protected]>
199202
200203
Zac Hansen <[email protected]>
204+
Zhao Jiazhong <[email protected]>
201205
Zhongping Wang <[email protected]>
202206
柳荣一 <[email protected]>
207+

0 commit comments

Comments
 (0)