diff options
author | Derek Schuff <dschuff@chromium.org> | 2017-11-13 15:18:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 15:18:30 -0800 |
commit | ca09203416a556f0a895f6cfa32426bdd46f9824 (patch) | |
tree | 263697a28594c67424472a7410d256994476f4de /test/wasm2asm/br_table_temp.wast | |
parent | 20b8b02ff331f8b59d44e2a72ebd6f81e08f49ac (diff) | |
download | binaryen-ca09203416a556f0a895f6cfa32426bdd46f9824.tar.gz binaryen-ca09203416a556f0a895f6cfa32426bdd46f9824.tar.bz2 binaryen-ca09203416a556f0a895f6cfa32426bdd46f9824.zip |
Update call_indirect text syntax to match spec update (#1281)
Function type gets its own element rather than being a part of the call_indirect
(see WebAssembly/spec#599)
Diffstat (limited to 'test/wasm2asm/br_table_temp.wast')
-rw-r--r-- | test/wasm2asm/br_table_temp.wast | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/wasm2asm/br_table_temp.wast b/test/wasm2asm/br_table_temp.wast index c6314762d..abd66053a 100644 --- a/test/wasm2asm/br_table_temp.wast +++ b/test/wasm2asm/br_table_temp.wast @@ -983,7 +983,7 @@ (table anyfunc (elem $f)) (func (export "as-call_indirect-first") (result i32) (block i32 - (call_indirect $sig + (call_indirect (type $sig) (br_table 0 (i32.const 20) (i32.const 1)) (i32.const 1) (i32.const 2) (i32.const 3) ) @@ -991,7 +991,7 @@ ) (func (export "as-call_indirect-mid") (result i32) (block i32 - (call_indirect $sig + (call_indirect (type $sig) (i32.const 0) (br_table 0 (i32.const 21) (i32.const 1)) (i32.const 2) (i32.const 3) ) @@ -999,7 +999,7 @@ ) (func (export "as-call_indirect-last") (result i32) (block i32 - (call_indirect $sig + (call_indirect (type $sig) (i32.const 0) (i32.const 1) (br_table 0 (i32.const 22) (i32.const 1)) (i32.const 3) ) @@ -1007,7 +1007,7 @@ ) (func (export "as-call_indirect-func") (result i32) (block i32 - (call_indirect $sig + (call_indirect (type $sig) (i32.const 0) (i32.const 1) (i32.const 2) (br_table 0 (i32.const 23) (i32.const 1)) ) |