-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
From 37bc132e418017ff70e5c5a4562c457c2064f49b Mon Sep 17 00:00:00 2001 | ||
From: James M Snell <[email protected]> | ||
Date: Mon, 29 Apr 2024 13:22:55 -0700 | ||
Subject: Add iomanip | ||
|
||
|
||
diff --git a/src/dawn/native/stream/ByteVectorSink.cpp b/src/dawn/native/stream/ByteVectorSink.cpp | ||
--- a/src/dawn/native/stream/ByteVectorSink.cpp | ||
+++ b/src/dawn/native/stream/ByteVectorSink.cpp | ||
@@ -27,6 +27,7 @@ | ||
|
||
#include "dawn/native/stream/ByteVectorSink.h" | ||
|
||
+#include <iomanip> | ||
#include "dawn/native/stream/Stream.h" | ||
|
||
namespace dawn::native::stream { |
34 changes: 34 additions & 0 deletions
34
patches/v8/0017-Fixup-RunMicrotask-to-restore-async-context-on-termi.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: James M Snell <[email protected]> | ||
Date: Thu, 18 Apr 2024 13:31:01 -0700 | ||
Subject: Fixup RunMicrotask to restore async context on terminate execution | ||
|
||
|
||
diff --git a/src/execution/microtask-queue.cc b/src/execution/microtask-queue.cc | ||
index 0dda78af32572981be90e4d86fc789167e97b247..f85be4bcf1641c5d6454c1c90dfd90170027c5a8 100644 | ||
--- a/src/execution/microtask-queue.cc | ||
+++ b/src/execution/microtask-queue.cc | ||
@@ -188,6 +188,11 @@ int MicrotaskQueue::RunMicrotasks(Isolate* isolate) { | ||
processed_microtask_count); | ||
} | ||
|
||
+#ifdef V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA | ||
+ isolate->isolate_data()->set_continuation_preserved_embedder_data( | ||
+ *continuation_preserved_embedder_data); | ||
+#endif // V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA | ||
+ | ||
if (isolate->is_execution_terminating()) { | ||
DCHECK(isolate->has_exception()); | ||
DCHECK(maybe_result.is_null()); | ||
@@ -201,11 +206,6 @@ int MicrotaskQueue::RunMicrotasks(Isolate* isolate) { | ||
return -1; | ||
} | ||
|
||
-#ifdef V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA | ||
- isolate->isolate_data()->set_continuation_preserved_embedder_data( | ||
- *continuation_preserved_embedder_data); | ||
-#endif // V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA | ||
- | ||
DCHECK_EQ(0, size()); | ||
OnCompleted(isolate); | ||
|