Skip to content

Commit b017f4e

Browse files
authored
Merge pull request #6726 from cloudflare/dcarney/v8-14.8
move v8 version to 14.8
2 parents 7d0a721 + 4c753bf commit b017f4e

30 files changed

Lines changed: 181 additions & 170 deletions

File tree

build/deps/v8.MODULE.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "ht
1818

1919
git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
2020

21-
VERSION = "14.7.173.16"
21+
VERSION = "14.8.180"
2222

23-
INTEGRITY = "sha256-mMBT2NXNxqnrsmoMsgkNPI9x96lbz/cqeGq8Jc6WPj4="
23+
INTEGRITY = "sha256-VQdRoKnkJKBl0GAChhM2Gk+X5HOnZqh8A3PhTtRXoBs="
2424

2525
PATCHES = [
2626
"0001-Allow-manually-setting-ValueDeserializer-format-vers.patch",
@@ -58,8 +58,8 @@ PATCHES = [
5858
"0033-Return-false-on-Object.hasOwnProperty-with-intercept.patch",
5959
"0034-Remove-V8-MODULE.bazel-llvm-toolchain-and-libcxx-rep.patch",
6060
"0035-Remove-libcxx-dep-from-defs.bzl-not-resolvable-via-h.patch",
61-
"0036-Fix-macOS-specific-compilation-issue.patch",
62-
"0037-Delete-copy-constructor-of-PropertyDeduplicator-to-f.patch",
61+
"0036-Fix-non-conforming-braced-init-list-in-value_or.patch",
62+
"0037-Fix-non-portable-std-atomic_flag-construction-in-run.patch",
6363
]
6464

6565
http_archive(

patches/v8/0001-Allow-manually-setting-ValueDeserializer-format-vers.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ index 0cb3e045bc46ec732956318b980e749d1847d06d..40ad805c7970cc9379e69f046205836d
3737
* Reads raw data in various common formats to the buffer.
3838
* Note that integer types are read in base-128 varint format, not with a
3939
diff --git a/src/api/api.cc b/src/api/api.cc
40-
index 82bf5785579c4320b68ebb413f1b58a0917570b6..a143950433433b7711edbf9dbc3f54d3711c7db3 100644
40+
index 32fc059d6d2375fd87cb2f263a5846444fd9d0d1..e98a1d272b663f26e41313f10b99cd564793c5f8 100644
4141
--- a/src/api/api.cc
4242
+++ b/src/api/api.cc
43-
@@ -3697,6 +3697,10 @@ uint32_t ValueDeserializer::GetWireFormatVersion() const {
43+
@@ -3706,6 +3706,10 @@ uint32_t ValueDeserializer::GetWireFormatVersion() const {
4444
return private_->deserializer.GetWireFormatVersion();
4545
}
4646

patches/v8/0002-Allow-manually-setting-ValueSerializer-format-versio.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ index 40ad805c7970cc9379e69f046205836dbd760373..596be18adeb3a5a81794aaa44b1d347d
2323
* Writes out a header, which includes the format version.
2424
*/
2525
diff --git a/src/api/api.cc b/src/api/api.cc
26-
index a143950433433b7711edbf9dbc3f54d3711c7db3..d9a1f54985deed9096464e68706197afd3d249b9 100644
26+
index e98a1d272b663f26e41313f10b99cd564793c5f8..73f38d9a2b25d7420b73f96c34e8aa1764a69223 100644
2727
--- a/src/api/api.cc
2828
+++ b/src/api/api.cc
29-
@@ -3569,6 +3569,10 @@ ValueSerializer::ValueSerializer(Isolate* v8_isolate, Delegate* delegate)
29+
@@ -3578,6 +3578,10 @@ ValueSerializer::ValueSerializer(Isolate* v8_isolate, Delegate* delegate)
3030

3131
ValueSerializer::~ValueSerializer() { delete private_; }
3232

@@ -38,7 +38,7 @@ index a143950433433b7711edbf9dbc3f54d3711c7db3..d9a1f54985deed9096464e68706197af
3838

3939
void ValueSerializer::SetTreatArrayBufferViewsAsHostObjects(bool mode) {
4040
diff --git a/src/objects/value-serializer.cc b/src/objects/value-serializer.cc
41-
index f7c5ba071c4a243b410cf4b6cc1706e96cefca42..7d0e6dea04a5ad4b03be0850d0e50cf79861c3dc 100644
41+
index b32852867593bcfd3d0d1b87539d9f904f054aa8..6dc0e13d885aa537a09d580cfc147546cf6fc432 100644
4242
--- a/src/objects/value-serializer.cc
4343
+++ b/src/objects/value-serializer.cc
4444
@@ -298,6 +298,7 @@ ValueSerializer::ValueSerializer(Isolate* isolate,

patches/v8/0003-Allow-Windows-builds-under-Bazel.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Subject: Allow Windows builds under Bazel
66
Signed-off-by: James M Snell <jsnell@cloudflare.com>
77

88
diff --git a/BUILD.bazel b/BUILD.bazel
9-
index 421ebcdd2ee6b2abd0031befe067f91730108b11..ff38e11bbbaa668ad9a5348ebab40baebbd81f32 100644
9+
index ae9c73762bef46c302a10a85076cbe913617965a..f79d7f3e434a126daa41b8effd6e98f0d487e773 100644
1010
--- a/BUILD.bazel
1111
+++ b/BUILD.bazel
12-
@@ -4089,6 +4089,8 @@ filegroup(
12+
@@ -4107,6 +4107,8 @@ filegroup(
1313
"@v8//bazel/config:is_inline_asm_x64": ["src/heap/base/asm/x64/push_registers_asm.cc"],
1414
"@v8//bazel/config:is_inline_asm_arm": ["src/heap/base/asm/arm/push_registers_asm.cc"],
1515
"@v8//bazel/config:is_inline_asm_arm64": ["src/heap/base/asm/arm64/push_registers_asm.cc"],

patches/v8/0005-Speed-up-V8-bazel-build-by-always-using-target-cfg.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ both target and exec configurations as generator tools depend on them.
1010
Signed-off-by: James M Snell <jsnell@cloudflare.com>
1111

1212
diff --git a/BUILD.bazel b/BUILD.bazel
13-
index ff38e11bbbaa668ad9a5348ebab40baebbd81f32..c49861e5a9e46c8b70db478840c0d4f9cb6987b7 100644
13+
index f79d7f3e434a126daa41b8effd6e98f0d487e773..1ab690b670cbb9c717fe1f368f0e073e85830d4a 100644
1414
--- a/BUILD.bazel
1515
+++ b/BUILD.bazel
1616
@@ -19,6 +19,7 @@ load(
@@ -21,7 +21,7 @@ index ff38e11bbbaa668ad9a5348ebab40baebbd81f32..c49861e5a9e46c8b70db478840c0d4f9
2121
)
2222
load(":bazel/v8-non-pointer-compression.bzl", "v8_binary_non_pointer_compression")
2323

24-
@@ -4486,22 +4487,20 @@ filegroup(
24+
@@ -4504,22 +4505,20 @@ filegroup(
2525
],
2626
)
2727

@@ -50,7 +50,7 @@ index ff38e11bbbaa668ad9a5348ebab40baebbd81f32..c49861e5a9e46c8b70db478840c0d4f9
5050
)
5151

5252
v8_mksnapshot(
53-
@@ -4722,7 +4721,6 @@ v8_binary(
53+
@@ -4740,7 +4739,6 @@ v8_binary(
5454
srcs = [
5555
"src/regexp/gen-regexp-special-case.cc",
5656
"src/regexp/special-case.h",

patches/v8/0006-Implement-Promise-Context-Tagging.patch

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ index e5eba5a203b8bc4d0c05b1f0d6cbdffd352d4a06..cfba4bb26f865c0e38574f796200ffc5
2424

2525
#endif // INCLUDE_V8_ISOLATE_CALLBACKS_H_
2626
diff --git a/include/v8-isolate.h b/include/v8-isolate.h
27-
index f7600a237f7459bed0c172e6fd0ca7df7b37fc21..e5e6dddfa4c3a3d59b722b98b2024dfb45b2fb6b 100644
27+
index 44bde532a6253f7c1891dbb51dc3de21daf7a238..8f620d08c0b8919fc3312c53bd9efa5d11ded1c6 100644
2828
--- a/include/v8-isolate.h
2929
+++ b/include/v8-isolate.h
30-
@@ -1873,6 +1873,9 @@ class V8_EXPORT Isolate {
30+
@@ -1875,6 +1875,9 @@ class V8_EXPORT Isolate {
3131
*/
3232
uint64_t GetHashSeed();
3333

@@ -37,7 +37,7 @@ index f7600a237f7459bed0c172e6fd0ca7df7b37fc21..e5e6dddfa4c3a3d59b722b98b2024dfb
3737
Isolate() = delete;
3838
~Isolate() = delete;
3939
Isolate(const Isolate&) = delete;
40-
@@ -1919,6 +1922,19 @@ MaybeLocal<T> Isolate::GetDataFromSnapshotOnce(size_t index) {
40+
@@ -1921,6 +1924,19 @@ MaybeLocal<T> Isolate::GetDataFromSnapshotOnce(size_t index) {
4141
return {};
4242
}
4343

@@ -58,10 +58,10 @@ index f7600a237f7459bed0c172e6fd0ca7df7b37fc21..e5e6dddfa4c3a3d59b722b98b2024dfb
5858

5959
#endif // INCLUDE_V8_ISOLATE_H_
6060
diff --git a/src/api/api.cc b/src/api/api.cc
61-
index d9a1f54985deed9096464e68706197afd3d249b9..143455f17aad7a96d742bca54fef720d84b6d4c3 100644
61+
index 73f38d9a2b25d7420b73f96c34e8aa1764a69223..2c226e1467d952fd80c5356f7993f8af00c5f35d 100644
6262
--- a/src/api/api.cc
6363
+++ b/src/api/api.cc
64-
@@ -12634,6 +12634,25 @@ std::string SourceLocation::ToString() const {
64+
@@ -12679,6 +12679,25 @@ std::string SourceLocation::ToString() const {
6565
.str();
6666
}
6767

@@ -151,34 +151,34 @@ index 50677631b5399453eebc6b149272431f74b1fce6..c652bd836b27805865e0a902ef9cf7c1
151151
}
152152

153153
diff --git a/src/builtins/promise-misc.tq b/src/builtins/promise-misc.tq
154-
index 702a3e622bf4fa65e41caee2be3cdd481384e314..257b966dc3c67174acfde1208ede2d6342b5e074 100644
154+
index f83ee777f596738f1a71606ba61a3a7fdbc2cd30..abfa23d9d5087148a25261e8a4aefdfc37a4b228 100644
155155
--- a/src/builtins/promise-misc.tq
156156
+++ b/src/builtins/promise-misc.tq
157-
@@ -55,6 +55,7 @@ macro PromiseInit(promise: JSPromise): void {
157+
@@ -53,6 +53,7 @@ macro PromiseInit(promise: JSPromise): void {
158158
is_silent: false,
159159
async_task_id: kInvalidAsyncTaskId
160160
});
161161
+ promise.context_tag = kZero;
162162
promise_internal::ZeroOutEmbedderOffsets(promise);
163163
}
164164

165-
@@ -74,6 +75,7 @@ macro InnerNewJSPromise(implicit context: Context)(): JSPromise {
165+
@@ -72,6 +73,7 @@ macro InnerNewJSPromise(implicit context: Context)(): JSPromise {
166166
is_silent: false,
167167
async_task_id: kInvalidAsyncTaskId
168168
});
169169
+ promise.context_tag = kZero;
170170
return promise;
171171
}
172172

173-
@@ -273,6 +275,7 @@ transitioning macro NewJSPromise(implicit context: Context)(
173+
@@ -271,6 +273,7 @@ transitioning macro NewJSPromise(implicit context: Context)(
174174
parent: Object): JSPromise {
175175
const instance = InnerNewJSPromise();
176176
PromiseInit(instance);
177177
+ runtime::PromiseContextInit(instance);
178178
RunAnyPromiseHookInit(instance, parent);
179179
return instance;
180180
}
181-
@@ -296,6 +299,7 @@ transitioning macro NewJSPromise(
181+
@@ -294,6 +297,7 @@ transitioning macro NewJSPromise(
182182
instance.reactions_or_result = result;
183183
instance.SetStatus(status);
184184
promise_internal::ZeroOutEmbedderOffsets(instance);
@@ -187,10 +187,10 @@ index 702a3e622bf4fa65e41caee2be3cdd481384e314..257b966dc3c67174acfde1208ede2d63
187187
return instance;
188188
}
189189
diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc
190-
index 0dfc5da18119fe7d723314bb489995e8bb0b03c5..6ce3a938cd31a65b8574f3a1e589aa89455c6f47 100644
190+
index 9150e7c14af4399897d8b6e474e6503499fcb30a..af2893886586b59ce5efb4758828d017be439522 100644
191191
--- a/src/compiler/js-create-lowering.cc
192192
+++ b/src/compiler/js-create-lowering.cc
193-
@@ -1121,10 +1121,12 @@ Reduction JSCreateLowering::ReduceJSCreatePromise(Node* node) {
193+
@@ -1122,10 +1122,12 @@ Reduction JSCreateLowering::ReduceJSCreatePromise(Node* node) {
194194
jsgraph()->EmptyFixedArrayConstant());
195195
a.Store(AccessBuilder::ForJSObjectOffset(JSPromise::kReactionsOrResultOffset),
196196
jsgraph()->ZeroConstant());
@@ -205,10 +205,10 @@ index 0dfc5da18119fe7d723314bb489995e8bb0b03c5..6ce3a938cd31a65b8574f3a1e589aa89
205205
offset < JSPromise::kSizeWithEmbedderFields; offset += kTaggedSize) {
206206
a.Store(AccessBuilder::ForJSObjectOffset(offset),
207207
diff --git a/src/diagnostics/objects-printer.cc b/src/diagnostics/objects-printer.cc
208-
index 0deca1f243b9512e3b30f6b8e2239005a117b07b..ea6e689b4a395c99ca4f742964c5cd19eefe6aeb 100644
208+
index e6b0a5cf4660606752518b976b14d7519a7538c8..ac218930c9de64bfae3a6ccbc9332c794de76018 100644
209209
--- a/src/diagnostics/objects-printer.cc
210210
+++ b/src/diagnostics/objects-printer.cc
211-
@@ -980,6 +980,7 @@ void JSPromise::JSPromisePrint(std::ostream& os) {
211+
@@ -996,6 +996,7 @@ void JSPromise::JSPromisePrint(std::ostream& os) {
212212
}
213213
os << "\n - has_handler: " << has_handler();
214214
os << "\n - is_silent: " << is_silent();
@@ -247,7 +247,7 @@ index 393b3d611743c86e7760760a41bdd6a6c5216691..5e0c1c62b6168e12af1ad067cd57604c
247247
Tagged<Object> Isolate::VerifyBuiltinsResult(Tagged<Object> result) {
248248
if (is_execution_terminating() && !v8_flags.strict_termination_checks) {
249249
diff --git a/src/execution/isolate.cc b/src/execution/isolate.cc
250-
index c322a3fdeac846b84d5d1c7f941adebc7a64032e..6965443c683b14004d3f1a19b03de507db6f1256 100644
250+
index f4812695e9c53a85be0c6e554a99dda317d4807f..51666de8200590c2fc26c38090cbed41238ea489 100644
251251
--- a/src/execution/isolate.cc
252252
+++ b/src/execution/isolate.cc
253253
@@ -629,6 +629,8 @@ void Isolate::Iterate(RootVisitor* v, ThreadLocalTop* thread) {
@@ -259,15 +259,15 @@ index c322a3fdeac846b84d5d1c7f941adebc7a64032e..6965443c683b14004d3f1a19b03de507
259259

260260
for (v8::TryCatch* block = thread->try_catch_handler_; block != nullptr;
261261
block = block->next_) {
262-
@@ -6074,6 +6076,7 @@ bool Isolate::Init(SnapshotData* startup_snapshot_data,
262+
@@ -6233,6 +6235,7 @@ bool Isolate::Init(SnapshotData* startup_snapshot_data,
263263
shared_heap_object_cache_.push_back(ReadOnlyRoots(this).undefined_value());
264264
}
265265

266266
+ clear_promise_context_tag();
267267
InitializeThreadLocal();
268268

269269
// Profiler has to be created after ThreadLocal is initialized
270-
@@ -8237,5 +8240,40 @@ void Isolate::PrintNumberStringCacheStats(const char* comment,
270+
@@ -8400,5 +8403,40 @@ void Isolate::PrintNumberStringCacheStats(const char* comment,
271271
PrintF("\n");
272272
}
273273

@@ -309,10 +309,10 @@ index c322a3fdeac846b84d5d1c7f941adebc7a64032e..6965443c683b14004d3f1a19b03de507
309309
} // namespace internal
310310
} // namespace v8
311311
diff --git a/src/execution/isolate.h b/src/execution/isolate.h
312-
index 17858575fb87328b8cebfcdc2efa8167ede1ca0d..479b744e5439e126e713f050f2f52f38c49fa8b3 100644
312+
index e11bb4083042e2b6fd4101eed0f0d06cae1b0ef1..633f3f8cdef1eceee6edfc921259b7a9895f5a84 100644
313313
--- a/src/execution/isolate.h
314314
+++ b/src/execution/isolate.h
315-
@@ -2438,6 +2438,15 @@ class V8_EXPORT_PRIVATE Isolate final : private HiddenFactory {
315+
@@ -2450,6 +2450,15 @@ class V8_EXPORT_PRIVATE Isolate final : private HiddenFactory {
316316
v8::ExceptionContext callback_kind);
317317
void SetExceptionPropagationCallback(ExceptionPropagationCallback callback);
318318

@@ -328,7 +328,7 @@ index 17858575fb87328b8cebfcdc2efa8167ede1ca0d..479b744e5439e126e713f050f2f52f38
328328
#ifdef V8_ENABLE_WASM_SIMD256_REVEC
329329
void set_wasm_revec_verifier_for_test(
330330
compiler::turboshaft::WasmRevecVerifier* verifier) {
331-
@@ -2968,6 +2977,12 @@ class V8_EXPORT_PRIVATE Isolate final : private HiddenFactory {
331+
@@ -2978,6 +2987,12 @@ class V8_EXPORT_PRIVATE Isolate final : private HiddenFactory {
332332

333333
bool is_frozen_ = false;
334334

@@ -341,7 +341,7 @@ index 17858575fb87328b8cebfcdc2efa8167ede1ca0d..479b744e5439e126e713f050f2f52f38
341341
friend class GlobalSafepoint;
342342
friend class heap::HeapTester;
343343
friend class IsolateForPointerCompression;
344-
@@ -2975,6 +2990,7 @@ class V8_EXPORT_PRIVATE Isolate final : private HiddenFactory {
344+
@@ -2985,6 +3000,7 @@ class V8_EXPORT_PRIVATE Isolate final : private HiddenFactory {
345345
friend class IsolateGroup;
346346
friend class TestSerializer;
347347
friend class SharedHeapNoClientsTest;
@@ -350,10 +350,10 @@ index 17858575fb87328b8cebfcdc2efa8167ede1ca0d..479b744e5439e126e713f050f2f52f38
350350

351351
// The current entered Isolate and its thread data. Do not access these
352352
diff --git a/src/heap/factory.cc b/src/heap/factory.cc
353-
index 2102070df07e2e18c2821398987f60568ee6061b..d7b2294622a2f5725ece2829d3de2e328ba976a1 100644
353+
index 00f8b2addf9c646b453cee15c1a71d8aeea9d928..40118ddd5b357d3cdead407ae580c9f5856f13e2 100644
354354
--- a/src/heap/factory.cc
355355
+++ b/src/heap/factory.cc
356-
@@ -4705,6 +4705,12 @@ Handle<JSPromise> Factory::NewJSPromiseWithoutHook() {
356+
@@ -4859,6 +4859,12 @@ Handle<JSPromise> Factory::NewJSPromiseWithoutHook() {
357357
DisallowGarbageCollection no_gc;
358358
Tagged<JSPromise> raw = *promise;
359359
raw->set_reactions_or_result(Smi::zero(), SKIP_WRITE_BARRIER);
@@ -367,10 +367,10 @@ index 2102070df07e2e18c2821398987f60568ee6061b..d7b2294622a2f5725ece2829d3de2e32
367367
// TODO(v8) remove once embedder data slots are always zero-initialized.
368368
InitEmbedderFields(*promise, Smi::zero());
369369
diff --git a/src/maglev/maglev-graph-builder.cc b/src/maglev/maglev-graph-builder.cc
370-
index c520ecd12bdddba75ac30e308383526ad67c3ad2..0867347126728c9ec595e34be1aa8a19c4b64bcc 100644
370+
index 0168d146584cc3af44e6d21b886e73a072243435..53b178db65cac7ea1a47620442a3fbb7f2687c89 100644
371371
--- a/src/maglev/maglev-graph-builder.cc
372372
+++ b/src/maglev/maglev-graph-builder.cc
373-
@@ -14992,9 +14992,10 @@ VirtualObject* MaglevGraphBuilder::CreateJSPromiseObject() {
373+
@@ -14772,9 +14772,10 @@ VirtualObject* MaglevGraphBuilder::CreateJSPromiseObject() {
374374
vobj->set(JSPromise::kElementsOffset,
375375
GetRootConstant(RootIndex::kEmptyFixedArray));
376376
vobj->set(JSPromise::kReactionsOrResultOffset, GetSmiConstant(0));
@@ -383,7 +383,7 @@ index c520ecd12bdddba75ac30e308383526ad67c3ad2..0867347126728c9ec595e34be1aa8a19
383383
offset < JSPromise::kSizeWithEmbedderFields; offset += kTaggedSize) {
384384
vobj->set(offset, GetSmiConstant(0));
385385
diff --git a/src/objects/js-promise.tq b/src/objects/js-promise.tq
386-
index 93a4a34f9f1f7fad40611d4b9432aaf944c9fbae..188619ea64c9e307f014898e4023ce796c52c7e2 100644
386+
index f3078f569e4f8fe919a84190b40e5da31098a5d3..3832d2655e2db35286345c0c1c79b9aa8959a25b 100644
387387
--- a/src/objects/js-promise.tq
388388
+++ b/src/objects/js-promise.tq
389389
@@ -32,6 +32,7 @@ extern class JSPromise extends JSObjectWithEmbedderSlots {
@@ -395,7 +395,7 @@ index 93a4a34f9f1f7fad40611d4b9432aaf944c9fbae..188619ea64c9e307f014898e4023ce79
395395
}
396396

397397
diff --git a/src/objects/value-serializer.cc b/src/objects/value-serializer.cc
398-
index 7d0e6dea04a5ad4b03be0850d0e50cf79861c3dc..324bf5298c9d93f160946caf13f3df74351de17e 100644
398+
index 6dc0e13d885aa537a09d580cfc147546cf6fc432..fc4dc2477d48c97145237e922d3bcba16140c47d 100644
399399
--- a/src/objects/value-serializer.cc
400400
+++ b/src/objects/value-serializer.cc
401401
@@ -1123,8 +1123,8 @@ Maybe<bool> ValueSerializer::WriteJSArrayBufferView(
@@ -410,10 +410,10 @@ index 7d0e6dea04a5ad4b03be0850d0e50cf79861c3dc..324bf5298c9d93f160946caf13f3df74
410410
}
411411
return ThrowIfOutOfMemory();
412412
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc
413-
index 3d9ff4368894a21e83a1401cad41dc412f23ab5c..ff03a31747875cd7a41bffeeae7687e60905e43d 100644
413+
index 694b3b19bb2ddf5ca8db05068aec37252e411dfa..857d659f05cbea5b31631700848dae3d5b3b22b5 100644
414414
--- a/src/profiler/heap-snapshot-generator.cc
415415
+++ b/src/profiler/heap-snapshot-generator.cc
416-
@@ -2117,6 +2117,8 @@ void V8HeapExplorer::ExtractJSPromiseReferences(HeapEntry* entry,
416+
@@ -2248,6 +2248,8 @@ void V8HeapExplorer::ExtractJSPromiseReferences(HeapEntry* entry,
417417
SetInternalReference(entry, "reactions_or_result",
418418
promise->reactions_or_result(),
419419
JSPromise::kReactionsOrResultOffset);
@@ -469,10 +469,10 @@ index cbe68d70430188fceab54bf3911c5d617e76cd62..896bac667ce40ef23c8c4fcd6174fcd2
469469
} // namespace internal
470470
} // namespace v8
471471
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
472-
index f70caed351dff9371fcd6771e9867bdef07e8397..c22911681bbe900fbd0fc3b9e3e863641ad93cb4 100644
472+
index b3fcf55dc8a5418183bb4aa1c874cb8a075698ed..9599b2c393ba3c68ee69d8441b053e6afa23dbfd 100644
473473
--- a/src/runtime/runtime.h
474474
+++ b/src/runtime/runtime.h
475-
@@ -433,20 +433,22 @@ constexpr bool CanTriggerGC(T... properties) {
475+
@@ -434,20 +434,22 @@ constexpr bool CanTriggerGC(T... properties) {
476476
F(StrictNotEqual, 2, 1) \
477477
F(ReferenceEqual, 2, 1)
478478

patches/v8/0009-Add-ValueSerializer-SetTreatFunctionsAsHostObjects.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ index 596be18adeb3a5a81794aaa44b1d347dec6c0c7d..141f138e08de849e3e02b3b2b346e643
3030
* Write raw data in various common formats to the buffer.
3131
* Note that integer types are written in base-128 varint format, not with a
3232
diff --git a/src/api/api.cc b/src/api/api.cc
33-
index 143455f17aad7a96d742bca54fef720d84b6d4c3..8304456b2a1c49769078800b98ba52dad410e8fb 100644
33+
index 2c226e1467d952fd80c5356f7993f8af00c5f35d..877765bf5f57a2953aa2d1e0869ae5db12e8b6b1 100644
3434
--- a/src/api/api.cc
3535
+++ b/src/api/api.cc
36-
@@ -3579,6 +3579,10 @@ void ValueSerializer::SetTreatArrayBufferViewsAsHostObjects(bool mode) {
36+
@@ -3588,6 +3588,10 @@ void ValueSerializer::SetTreatArrayBufferViewsAsHostObjects(bool mode) {
3737
private_->serializer.SetTreatArrayBufferViewsAsHostObjects(mode);
3838
}
3939

@@ -45,7 +45,7 @@ index 143455f17aad7a96d742bca54fef720d84b6d4c3..8304456b2a1c49769078800b98ba52da
4545
Local<Value> value) {
4646
auto i_isolate = i::Isolate::Current();
4747
diff --git a/src/objects/value-serializer.cc b/src/objects/value-serializer.cc
48-
index 324bf5298c9d93f160946caf13f3df74351de17e..a0460c95b91d5089010db3a53cc8592c6155a6c4 100644
48+
index fc4dc2477d48c97145237e922d3bcba16140c47d..97b7f51664dda24ffb0c94e4033b2eff2ba4daee 100644
4949
--- a/src/objects/value-serializer.cc
5050
+++ b/src/objects/value-serializer.cc
5151
@@ -335,6 +335,10 @@ void ValueSerializer::SetTreatArrayBufferViewsAsHostObjects(bool mode) {

patches/v8/0010-Modify-where-to-look-for-fp16-dependency.-This-depen.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Subject: Modify where to look for fp16 dependency. This dependency is normally
88
Signed-off-by: James M Snell <jsnell@cloudflare.com>
99

1010
diff --git a/BUILD.bazel b/BUILD.bazel
11-
index c49861e5a9e46c8b70db478840c0d4f9cb6987b7..5607d8447887e140b9b35ec7a6515db91fdc2459 100644
11+
index 1ab690b670cbb9c717fe1f368f0e073e85830d4a..23f52ed12cecfcd7383cc3d389935ca487b8533e 100644
1212
--- a/BUILD.bazel
1313
+++ b/BUILD.bazel
14-
@@ -4112,17 +4112,23 @@ v8_library(
14+
@@ -4130,17 +4130,23 @@ v8_library(
1515
],
1616
)
1717

patches/v8/0011-Revert-heap-Add-masm-specific-unwinding-annotations-.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ of getting our V8 upgrade unblocked.
1414
Signed-off-by: James M Snell <jsnell@cloudflare.com>
1515

1616
diff --git a/BUILD.gn b/BUILD.gn
17-
index a5c7d8477815b437cf5415ab34ca40bb1f43273a..625abc390a285b2c53f85486bb4afc3bde08574d 100644
17+
index 382c7d3ed44eab5df1f33082d0d0ef85121bc47c..5d5320c956b322ac9beef18688c9faa0bb10477f 100644
1818
--- a/BUILD.gn
1919
+++ b/BUILD.gn
20-
@@ -4637,8 +4637,8 @@ v8_header_set("v8_internal_headers") {
20+
@@ -4638,8 +4638,8 @@ v8_header_set("v8_internal_headers") {
2121
"src/tasks/operations-barrier.h",
2222
"src/tasks/task-utils.h",
2323
"src/torque/runtime-macro-shims.h",
@@ -27,7 +27,7 @@ index a5c7d8477815b437cf5415ab34ca40bb1f43273a..625abc390a285b2c53f85486bb4afc3b
2727
"src/tracing/trace-id.h",
2828
"src/tracing/traced-value.h",
2929
"src/tracing/tracing-category-observer.h",
30-
@@ -7535,12 +7535,7 @@ v8_source_set("v8_heap_base") {
30+
@@ -7560,12 +7560,7 @@ v8_source_set("v8_heap_base") {
3131
]
3232

3333
if (current_cpu == "x64") {

0 commit comments

Comments
 (0)