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/passes/Oz_fuzz-exec_all-features.txt | |
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/passes/Oz_fuzz-exec_all-features.txt')
-rw-r--r-- | test/passes/Oz_fuzz-exec_all-features.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/passes/Oz_fuzz-exec_all-features.txt b/test/passes/Oz_fuzz-exec_all-features.txt index 2ff239257..6b5041340 100644 --- a/test/passes/Oz_fuzz-exec_all-features.txt +++ b/test/passes/Oz_fuzz-exec_all-features.txt @@ -38,11 +38,11 @@ [LoggingExternalInterface logging 99] [LoggingExternalInterface logging 0] [LoggingExternalInterface logging 10] -[fuzz-exec] calling array.init_static +[fuzz-exec] calling array.new_fixed [LoggingExternalInterface logging 2] [LoggingExternalInterface logging 42] [LoggingExternalInterface logging 50] -[fuzz-exec] calling array.init_static-packed +[fuzz-exec] calling array.new_fixed-packed [LoggingExternalInterface logging 8] [fuzz-exec] calling static-casts [LoggingExternalInterface logging 1] @@ -76,8 +76,8 @@ (export "array-alloc-failure" (func $7)) (export "init-array-packed" (func $13)) (export "array-copy" (func $15)) - (export "array.init_static" (func $16)) - (export "array.init_static-packed" (func $17)) + (export "array.new_fixed" (func $16)) + (export "array.new_fixed-packed" (func $17)) (export "static-casts" (func $18)) (export "static-br_on_cast" (func $2)) (export "static-br_on_cast_fail" (func $20)) @@ -274,7 +274,7 @@ (call $log (array.len (local.tee $0 - (array.init_static $bytes + (array.new_fixed $bytes (i32.const 42) (i32.const 50) ) @@ -297,7 +297,7 @@ (func $17 (type $void_func) (; has Stack IR ;) (call $log (array.get_u $bytes - (array.init_static $bytes + (array.new_fixed $bytes (i32.const -11512) ) (i32.const 0) @@ -369,11 +369,11 @@ [LoggingExternalInterface logging 99] [LoggingExternalInterface logging 0] [LoggingExternalInterface logging 10] -[fuzz-exec] calling array.init_static +[fuzz-exec] calling array.new_fixed [LoggingExternalInterface logging 2] [LoggingExternalInterface logging 42] [LoggingExternalInterface logging 50] -[fuzz-exec] calling array.init_static-packed +[fuzz-exec] calling array.new_fixed-packed [LoggingExternalInterface logging 8] [fuzz-exec] calling static-casts [LoggingExternalInterface logging 1] |