diff options
author | Sam Clegg <sbc@chromium.org> | 2019-11-14 11:50:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 11:50:06 -0800 |
commit | abc8463c7b7e0eed02b25fd093615e55232ebc90 (patch) | |
tree | 32eb03d6c29a30ffae2410d27d0c15262a13be23 /test/roundtrip | |
parent | a147d92575d386ef45c75a3e492c8ca4d33a3bbc (diff) | |
download | wabt-abc8463c7b7e0eed02b25fd093615e55232ebc90.tar.gz wabt-abc8463c7b7e0eed02b25fd093615e55232ebc90.tar.bz2 wabt-abc8463c7b7e0eed02b25fd093615e55232ebc90.zip |
reference-types: Table immediate of call_indirect comes first in the text format (#1219)
The overview document was incorrect until recently which I imagine is
why wabt got this wrong initially.
See https://github.com/WebAssembly/reference-types/issues/59
Diffstat (limited to 'test/roundtrip')
-rw-r--r-- | test/roundtrip/generate-func-type-names.txt | 2 | ||||
-rw-r--r-- | test/roundtrip/generate-some-names.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/roundtrip/generate-func-type-names.txt b/test/roundtrip/generate-func-type-names.txt index 92cfada3..13b84934 100644 --- a/test/roundtrip/generate-func-type-names.txt +++ b/test/roundtrip/generate-func-type-names.txt @@ -18,7 +18,7 @@ (func $f1 (type $t0)) (func $f2 (type $t1) (result i32) i32.const 0 - call_indirect (type $t0) $T0 + call_indirect $T0 (type $t0) i32.const 1) (table $T0 1 1 funcref) (elem $e0 (i32.const 0) $foo.bar)) diff --git a/test/roundtrip/generate-some-names.txt b/test/roundtrip/generate-some-names.txt index a3de50fa..7b4e5e65 100644 --- a/test/roundtrip/generate-some-names.txt +++ b/test/roundtrip/generate-some-names.txt @@ -45,7 +45,7 @@ drop i32.const 0 i32.const 1 - call_indirect (type $t0) $T0 + call_indirect $T0 (type $t0) drop local.get $param1 drop |