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/wasm-opt.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/lit/help/wasm-opt.test') diff --git a/test/lit/help/wasm-opt.test b/test/lit/help/wasm-opt.test index b2ac0c7f5..9af51001d 100644 --- a/test/lit/help/wasm-opt.test +++ b/test/lit/help/wasm-opt.test @@ -206,6 +206,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