summaryrefslogtreecommitdiff
path: root/test/lit/passes/merge-similar-functions_all-features.wast
diff options
context:
space:
mode:
authorJérôme Vouillon <jerome.vouillon@gmail.com>2023-08-23 22:47:33 +0200
committerGitHub <noreply@github.com>2023-08-23 13:47:33 -0700
commit6dad9fb15130515bc7eed60270263f3d8269b60f (patch)
tree3c5f9982b014d870a3a87d19fa63cf015c7197d6 /test/lit/passes/merge-similar-functions_all-features.wast
parentf6867f9a485c125dcd2914f58e2636f01879db7b (diff)
downloadbinaryen-6dad9fb15130515bc7eed60270263f3d8269b60f.tar.gz
binaryen-6dad9fb15130515bc7eed60270263f3d8269b60f.tar.bz2
binaryen-6dad9fb15130515bc7eed60270263f3d8269b60f.zip
Use the standard syntax for ref.cast, ref.test and array.new_fixed (#5894)
* Update text output for `ref.cast` and `ref.test` * Update text output for `array.new_fixed` * Update tests with new syntax for `ref.cast` and `ref.test` * Update tests with new `array.new_fixed` syntax
Diffstat (limited to 'test/lit/passes/merge-similar-functions_all-features.wast')
-rw-r--r--test/lit/passes/merge-similar-functions_all-features.wast8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lit/passes/merge-similar-functions_all-features.wast b/test/lit/passes/merge-similar-functions_all-features.wast
index 15929894f..661a55f66 100644
--- a/test/lit/passes/merge-similar-functions_all-features.wast
+++ b/test/lit/passes/merge-similar-functions_all-features.wast
@@ -50,7 +50,7 @@
;; CHECK-NEXT: (nop)
;; CHECK-NEXT: (nop)
;; CHECK-NEXT: (call $take-ref-null-array
- ;; CHECK-NEXT: (array.new_fixed $[i8])
+ ;; CHECK-NEXT: (array.new_fixed $[i8] 0)
;; CHECK-NEXT: )
;; CHECK-NEXT: )
(func $no-call-subtyping-same-operand-0
@@ -58,7 +58,7 @@
(nop) (nop) (nop) (nop) (nop) (nop)
(nop) (nop) (nop) (nop) (nop) (nop)
(call $take-ref-null-array
- (array.new_fixed $[i8])
+ (array.new_fixed $[i8] 0)
)
)
;; CHECK: (func $no-call-subtyping-same-operand-1 (type $none_=>_none)
@@ -81,7 +81,7 @@
;; CHECK-NEXT: (nop)
;; CHECK-NEXT: (nop)
;; CHECK-NEXT: (call $take-ref-eq
- ;; CHECK-NEXT: (array.new_fixed $[i8])
+ ;; CHECK-NEXT: (array.new_fixed $[i8] 0)
;; CHECK-NEXT: )
;; CHECK-NEXT: )
(func $no-call-subtyping-same-operand-1
@@ -89,7 +89,7 @@
(nop) (nop) (nop) (nop) (nop) (nop)
(nop) (nop) (nop) (nop) (nop) (nop)
(call $take-ref-eq
- (array.new_fixed $[i8])
+ (array.new_fixed $[i8] 0)
)
)
)