summaryrefslogtreecommitdiff
path: root/test/lit/basic/exception-handling-old.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/basic/exception-handling-old.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/basic/exception-handling-old.wast')
-rw-r--r--test/lit/basic/exception-handling-old.wast8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lit/basic/exception-handling-old.wast b/test/lit/basic/exception-handling-old.wast
index 6fcb33ed4..086ff1484 100644
--- a/test/lit/basic/exception-handling-old.wast
+++ b/test/lit/basic/exception-handling-old.wast
@@ -105,7 +105,7 @@
)
;; CHECK-TEXT: (func $try-catch-multivalue-tag (type $0)
- ;; CHECK-TEXT-NEXT: (local $x (i32 i64))
+ ;; CHECK-TEXT-NEXT: (local $x (tuple i32 i64))
;; CHECK-TEXT-NEXT: (try $try
;; CHECK-TEXT-NEXT: (do
;; CHECK-TEXT-NEXT: (throw $e-i32-i64
@@ -128,7 +128,7 @@
;; CHECK-BIN: (func $try-catch-multivalue-tag (type $0)
;; CHECK-BIN-NEXT: (local $x i32)
;; CHECK-BIN-NEXT: (local $1 i64)
- ;; CHECK-BIN-NEXT: (local $2 (i32 i64))
+ ;; CHECK-BIN-NEXT: (local $2 (tuple i32 i64))
;; CHECK-BIN-NEXT: (local $3 i32)
;; CHECK-BIN-NEXT: (try $label$3
;; CHECK-BIN-NEXT: (do
@@ -162,7 +162,7 @@
;; CHECK-BIN-NEXT: )
;; CHECK-BIN-NEXT: )
;; CHECK-BIN-NEXT: )
- (func $try-catch-multivalue-tag (local $x (i32 i64))
+ (func $try-catch-multivalue-tag (local $x (tuple i32 i64))
(try
(do
(throw $e-i32-i64 (i32.const 0) (i64.const 0))
@@ -1376,7 +1376,7 @@
;; CHECK-BIN-NODEBUG: (func $3 (type $0)
;; CHECK-BIN-NODEBUG-NEXT: (local $0 i32)
;; CHECK-BIN-NODEBUG-NEXT: (local $1 i64)
-;; CHECK-BIN-NODEBUG-NEXT: (local $2 (i32 i64))
+;; CHECK-BIN-NODEBUG-NEXT: (local $2 (tuple i32 i64))
;; CHECK-BIN-NODEBUG-NEXT: (local $3 i32)
;; CHECK-BIN-NODEBUG-NEXT: (try $label$3
;; CHECK-BIN-NODEBUG-NEXT: (do