diff options
author | Thomas Lively <tlively@google.com> | 2023-02-28 18:18:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 16:18:38 -0800 |
commit | 356767e259cde364b0968bedf4ffd012d48737b5 (patch) | |
tree | 82daae9ece7114141b31c26a8fcccd94e0ea2ba7 /test/lit/exec/strings.wast | |
parent | aa4bc77bc967fd8911c30d7e69e44a9a0aef553a (diff) | |
download | binaryen-356767e259cde364b0968bedf4ffd012d48737b5.tar.gz binaryen-356767e259cde364b0968bedf4ffd012d48737b5.tar.bz2 binaryen-356767e259cde364b0968bedf4ffd012d48737b5.zip |
Parse and print `array.new_fixed` (#5527)
This is a (more) standard name for `array.init_static`. (The full upstream name
in the spec repo is `array.new_canon_fixed`, but I'm still hoping we can drop
`canon` from all the instruction names and it doesn't appear elsewhere in
Binaryen).
Update all the existing tests to use the new name and add a test specifically to
ensure the old name continues parsing.
Diffstat (limited to 'test/lit/exec/strings.wast')
-rw-r--r-- | test/lit/exec/strings.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/exec/strings.wast b/test/lit/exec/strings.wast index 6aa9d7b8a..6d07ae6a8 100644 --- a/test/lit/exec/strings.wast +++ b/test/lit/exec/strings.wast @@ -9,7 +9,7 @@ ;; CHECK-NEXT: [fuzz-exec] note result: new_wtf16_array => string("ello") (func "new_wtf16_array" (result stringref) (string.new_wtf16_array - (array.init_static $array16 + (array.new_fixed $array16 (i32.const 104) ;; h (i32.const 101) ;; e (i32.const 108) ;; l |