summaryrefslogtreecommitdiff
path: root/test/lit
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit')
-rw-r--r--test/lit/basic/typed_continuations_resume.wast12
-rw-r--r--test/lit/wat-kitchen-sink.wast4
2 files changed, 8 insertions, 8 deletions
diff --git a/test/lit/basic/typed_continuations_resume.wast b/test/lit/basic/typed_continuations_resume.wast
index d2430e2a0..5cd2277d3 100644
--- a/test/lit/basic/typed_continuations_resume.wast
+++ b/test/lit/basic/typed_continuations_resume.wast
@@ -39,7 +39,7 @@
;; CHECK-BINARY-NEXT: (drop
;; CHECK-BINARY-NEXT: (block $label$1 (result (ref $ct))
;; CHECK-BINARY-NEXT: (return
- ;; CHECK-BINARY-NEXT: (resume $ct (tag $t $label$1)
+ ;; CHECK-BINARY-NEXT: (resume $ct (on $t $label$1)
;; CHECK-BINARY-NEXT: (i32.const 123)
;; CHECK-BINARY-NEXT: (local.get $x)
;; CHECK-BINARY-NEXT: )
@@ -52,7 +52,7 @@
;; CHECK-TEXT-NEXT: (tuple.extract 2 0
;; CHECK-TEXT-NEXT: (block $handler (type $2) (result i32 (ref $ct))
;; CHECK-TEXT-NEXT: (return
- ;; CHECK-TEXT-NEXT: (resume $ct (tag $t $handler)
+ ;; CHECK-TEXT-NEXT: (resume $ct (on $t $handler)
;; CHECK-TEXT-NEXT: (i32.const 123)
;; CHECK-TEXT-NEXT: (local.get $x)
;; CHECK-TEXT-NEXT: )
@@ -66,7 +66,7 @@
;; CHECK-BIN-NEXT: (local.set $1
;; CHECK-BIN-NEXT: (block $label$1 (type $2) (result i32 (ref $ct))
;; CHECK-BIN-NEXT: (return
- ;; CHECK-BIN-NEXT: (resume $ct (tag $t $label$1)
+ ;; CHECK-BIN-NEXT: (resume $ct (on $t $label$1)
;; CHECK-BIN-NEXT: (i32.const 123)
;; CHECK-BIN-NEXT: (local.get $x)
;; CHECK-BIN-NEXT: )
@@ -92,7 +92,7 @@
(block $handler (result i32 (ref $ct))
(return
(resume $ct
- (tag $t $handler)
+ (on $t $handler)
(i32.const 123)
(local.get $x)
)
@@ -115,7 +115,7 @@
;; CHECK-NODEBUG-NEXT: (drop
;; CHECK-NODEBUG-NEXT: (block $label$1 (result (ref $1))
;; CHECK-NODEBUG-NEXT: (return
-;; CHECK-NODEBUG-NEXT: (resume $1 (tag $tag$0 $label$1)
+;; CHECK-NODEBUG-NEXT: (resume $1 (on $tag$0 $label$1)
;; CHECK-NODEBUG-NEXT: (i32.const 123)
;; CHECK-NODEBUG-NEXT: (local.get $0)
;; CHECK-NODEBUG-NEXT: )
@@ -140,7 +140,7 @@
;; CHECK-BIN-NODEBUG-NEXT: (local.set $1
;; CHECK-BIN-NODEBUG-NEXT: (block $label$1 (type $2) (result i32 (ref $1))
;; CHECK-BIN-NODEBUG-NEXT: (return
-;; CHECK-BIN-NODEBUG-NEXT: (resume $1 (tag $tag$0 $label$1)
+;; CHECK-BIN-NODEBUG-NEXT: (resume $1 (on $tag$0 $label$1)
;; CHECK-BIN-NODEBUG-NEXT: (i32.const 123)
;; CHECK-BIN-NODEBUG-NEXT: (local.get $0)
;; CHECK-BIN-NODEBUG-NEXT: )
diff --git a/test/lit/wat-kitchen-sink.wast b/test/lit/wat-kitchen-sink.wast
index ac8a00cc2..de16f6923 100644
--- a/test/lit/wat-kitchen-sink.wast
+++ b/test/lit/wat-kitchen-sink.wast
@@ -4868,7 +4868,7 @@
;; CHECK-NEXT: (tuple.drop 3
;; CHECK-NEXT: (block $block0 (type $36) (result i32 i64 (ref null $simple-cont))
;; CHECK-NEXT: (local.set $f
- ;; CHECK-NEXT: (resume $simple-cont (tag $empty $block) (tag $tag-pair-to-pair $block0)
+ ;; CHECK-NEXT: (resume $simple-cont (on $empty $block) (on $tag-pair-to-pair $block0)
;; CHECK-NEXT: (i32.const 0)
;; CHECK-NEXT: (i64.const 1)
;; CHECK-NEXT: (local.get $ct)
@@ -4890,7 +4890,7 @@
i32.const 0
i64.const 1
local.get $ct
- resume $simple-cont (tag $empty 1) (tag $tag-pair-to-pair 0)
+ resume $simple-cont (on $empty 1) (on $tag-pair-to-pair 0)
local.set $f
unreachable
end