summaryrefslogtreecommitdiff
path: root/test/lit/passes/jspi-args.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes/jspi-args.wast')
-rw-r--r--test/lit/passes/jspi-args.wast8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lit/passes/jspi-args.wast b/test/lit/passes/jspi-args.wast
index 237b31213..e915f02c0 100644
--- a/test/lit/passes/jspi-args.wast
+++ b/test/lit/passes/jspi-args.wast
@@ -18,7 +18,7 @@
;; CHECK: (export "update_state_sync" (func $update_state_sync))
(export "update_state_sync" (func $update_state_sync))
;; This function calls an async sleep so a wrapper should be created for it.
- ;; CHECK: (func $update_state_async (param $param f64) (result i32)
+ ;; CHECK: (func $update_state_async (type $f64_=>_i32) (param $param f64) (result i32)
;; CHECK-NEXT: (call $sleep_async
;; CHECK-NEXT: (f64.sub
;; CHECK-NEXT: (f64.const 1.1)
@@ -29,7 +29,7 @@
(func $update_state_async (param $param f64) (result i32)
(call $sleep_async (f64.sub (f64.const 1.1) (local.get $param)))
)
- ;; CHECK: (func $update_state_sync (param $param f64) (result i32)
+ ;; CHECK: (func $update_state_sync (type $f64_=>_i32) (param $param f64) (result i32)
;; CHECK-NEXT: (call $sleep_sync
;; CHECK-NEXT: (f64.sub
;; CHECK-NEXT: (f64.const 1.1)
@@ -41,7 +41,7 @@
(call $sleep_sync (f64.sub (f64.const 1.1) (local.get $param)))
)
)
-;; CHECK: (func $export$update_state_async (param $susp externref) (param $param f64) (result i32)
+;; CHECK: (func $export$update_state_async (type $externref_f64_=>_i32) (param $susp externref) (param $param f64) (result i32)
;; CHECK-NEXT: (global.set $suspender
;; CHECK-NEXT: (local.get $susp)
;; CHECK-NEXT: )
@@ -50,7 +50,7 @@
;; CHECK-NEXT: )
;; CHECK-NEXT: )
-;; CHECK: (func $sleep_async (param $0 f64) (result i32)
+;; CHECK: (func $sleep_async (type $f64_=>_i32) (param $0 f64) (result i32)
;; CHECK-NEXT: (local $1 externref)
;; CHECK-NEXT: (local $2 i32)
;; CHECK-NEXT: (local.set $1