diff options
author | Jérôme Vouillon <jerome.vouillon@gmail.com> | 2023-08-23 22:47:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 13:47:33 -0700 |
commit | 6dad9fb15130515bc7eed60270263f3d8269b60f (patch) | |
tree | 3c5f9982b014d870a3a87d19fa63cf015c7197d6 /test/lit/passes/optimize-instructions-call_ref.wast | |
parent | f6867f9a485c125dcd2914f58e2636f01879db7b (diff) | |
download | binaryen-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/optimize-instructions-call_ref.wast')
-rw-r--r-- | test/lit/passes/optimize-instructions-call_ref.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/passes/optimize-instructions-call_ref.wast b/test/lit/passes/optimize-instructions-call_ref.wast index 3b2ec2b54..5033eca3c 100644 --- a/test/lit/passes/optimize-instructions-call_ref.wast +++ b/test/lit/passes/optimize-instructions-call_ref.wast @@ -178,7 +178,7 @@ ;; call_ref that returns nothing with a call that returns an i32. In fact, we ;; end up optimizing the cast into an unreachable. (call_ref $none_=>_i32 - (ref.cast $none_=>_i32 + (ref.cast (ref $none_=>_i32) (ref.func $return-nothing) ) ) |