summaryrefslogtreecommitdiff
path: root/test/lit/passes/asyncify_enable-multivalue.wast
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-01-26 10:33:40 -0800
committerGitHub <noreply@github.com>2024-01-26 10:33:40 -0800
commit5d297dca547fdca2d525f251a27d0a94fc2c2674 (patch)
treede2eaa163260754ec94265d50a45dcb5e9661d32 /test/lit/passes/asyncify_enable-multivalue.wast
parentd23a63fce8635aa6e401d016a5d0bf23f6f030e8 (diff)
downloadbinaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.gz
binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.tar.bz2
binaryen-5d297dca547fdca2d525f251a27d0a94fc2c2674.zip
Update the text syntax for tuple types (#6246)
Instead of e.g. `(i32 i32)`, use `(tuple i32 i32)`. Having a keyword to introduce the s-expression is more consistent with the rest of the language.
Diffstat (limited to 'test/lit/passes/asyncify_enable-multivalue.wast')
-rw-r--r--test/lit/passes/asyncify_enable-multivalue.wast12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lit/passes/asyncify_enable-multivalue.wast b/test/lit/passes/asyncify_enable-multivalue.wast
index 69ae2efc6..e5834b114 100644
--- a/test/lit/passes/asyncify_enable-multivalue.wast
+++ b/test/lit/passes/asyncify_enable-multivalue.wast
@@ -870,7 +870,7 @@
)
;; CHECK: (func $many-locals (param $x i32) (result i32)
;; CHECK-NEXT: (local $y i32)
- ;; CHECK-NEXT: (local $z (f32 i64))
+ ;; CHECK-NEXT: (local $z (tuple f32 i64))
;; CHECK-NEXT: (local $3 i32)
;; CHECK-NEXT: (local $4 i32)
;; CHECK-NEXT: (local $5 i32)
@@ -1070,7 +1070,7 @@
;; CHECK-NEXT: )
(func $many-locals (param $x i32) (result i32)
(local $y i32)
- (local $z (f32 i64))
+ (local $z (tuple f32 i64))
(loop $l
(local.set $x
(i32.add (local.get $y) (i32.const 1))
@@ -1836,11 +1836,11 @@
(return (i32.const 3))
)
;; CHECK: (func $calls-mv
- ;; CHECK-NEXT: (local $x (i32 i64))
- ;; CHECK-NEXT: (local $1 (i32 i64))
+ ;; CHECK-NEXT: (local $x (tuple i32 i64))
+ ;; CHECK-NEXT: (local $1 (tuple i32 i64))
;; CHECK-NEXT: (local $2 i32)
;; CHECK-NEXT: (local $3 i32)
- ;; CHECK-NEXT: (local $4 (i32 i64))
+ ;; CHECK-NEXT: (local $4 (tuple i32 i64))
;; CHECK-NEXT: (local $5 i32)
;; CHECK-NEXT: (local $6 i32)
;; CHECK-NEXT: (if
@@ -2001,7 +2001,7 @@
;; CHECK-NEXT: )
;; CHECK-NEXT: )
(func $calls-mv
- (local $x (i32 i64))
+ (local $x (tuple i32 i64))
(local.set $x (call $import-mv))
)
;; CHECK: (func $calls-loop (param $x i32)