1- From d03c660e0a5ca58581c173f877ef9264a568adb1 Mon Sep 17 00:00:00 2001
1+ From 4e69d2ad44d6b1a4bf0707827cdd2442bca7fdb5 Mon Sep 17 00:00:00 2001
22From: Hood Chatham <
[email protected] >
33Date: Thu, 22 Jun 2023 18:53:22 -0700
44Subject: [PATCH 3/5] Changes for JSPI
@@ -11,10 +11,10 @@ Subject: [PATCH 3/5] Changes for JSPI
1111 4 files changed, 9 insertions(+), 3 deletions(-)
1212
1313diff --git a/src/library.js b/src/library.js
14- index 607e18e68..cfa2e49a1 100644
14+ index 14c45f6b1..be4d780d3 100644
1515--- a/src/library.js
1616+++ b/src/library.js
17- @@ -492 ,7 +492 ,7 @@ addToLibrary({
17+ @@ -460 ,7 +460 ,7 @@ addToLibrary({
1818 #if EXCEPTION_STACK_TRACES
1919 throw new EmscriptenSjLj;
2020 #else
@@ -45,10 +45,10 @@ index 31ae90318..f06f00904 100644
4545 #endif
4646 #if !DISABLE_EXCEPTION_CATCHING
4747diff --git a/src/parseTools.mjs b/src/parseTools.mjs
48- index fa6da8556..5a0a48548 100644
48+ index a57593562..976168049 100644
4949--- a/src/parseTools.mjs
5050+++ b/src/parseTools.mjs
51- @@ -585 ,7 +585 ,7 @@ function makeThrow(excPtr) {
51+ @@ -589 ,7 +589 ,7 @@ function makeThrow(excPtr) {
5252 }
5353 return `assert(false, '${assertInfo}');`;
5454 }
@@ -58,7 +58,7 @@ index fa6da8556..5a0a48548 100644
5858
5959 function storeException(varName, excPtr) {
6060diff --git a/src/preamble.js b/src/preamble.js
61- index d097c857f..6a217e022 100644
61+ index 2a422c490..0fd120445 100644
6262--- a/src/preamble.js
6363+++ b/src/preamble.js
6464@@ -14,6 +14,10 @@
@@ -72,7 +72,7 @@ index d097c857f..6a217e022 100644
7272 #if RELOCATABLE
7373 {{{ makeModuleReceiveWithVar('dynamicLibraries', undefined, '[]', true) }}}
7474 #endif
75- @@ -1038 ,6 +1042 ,7 @@ function getWasmImports() {
75+ @@ -1012 ,6 +1016 ,7 @@ function getWasmImports() {
7676 #endif // WASM_ASYNC_COMPILATION
7777
7878 var info = getWasmImports();
0 commit comments