From 31f1ba707a27f3000cecba87926980238f82414a Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Fri, 2 Sep 2022 15:21:43 -0700 Subject: Add JavaScript promise integration (JSPI) pass. (#4961) Add a pass that wraps all imports and exports with functions that handle storing and passing along the suspender externref needed for JSPI. https://github.com/WebAssembly/js-promise-integration/blob/main/proposals/js-promise-integration/Overview.md --- test/lit/help/wasm2js.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/lit/help/wasm2js.test') diff --git a/test/lit/help/wasm2js.test b/test/lit/help/wasm2js.test index f70f7d6ef..ef32a87a1 100644 --- a/test/lit/help/wasm2js.test +++ b/test/lit/help/wasm2js.test @@ -165,6 +165,9 @@ ;; CHECK-NEXT: ;; CHECK-NEXT: --intrinsic-lowering lower away binaryen intrinsics ;; CHECK-NEXT: +;; CHECK-NEXT: --jspi wrap imports and exports for +;; CHECK-NEXT: JavaScript promise integration +;; CHECK-NEXT: ;; CHECK-NEXT: --legalize-js-interface legalizes i64 types on the ;; CHECK-NEXT: import/export boundary ;; CHECK-NEXT: -- cgit v1.2.3