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/example | |
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/example')
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 6 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt.txt | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 21c26791c..f33be1abd 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -468,7 +468,7 @@ BinaryenFloat64: 4 ) (drop (i32.eqz - (call_indirect $iiIfF + (call_indirect (type $iiIfF) (i32.const 13) (i64.const 37) (f32.const 1.2999999523162842) @@ -543,7 +543,7 @@ BinaryenFloat64: 4 (type $I (func (result i64))) (memory $0 0) (func $unreachable-fn (; 0 ;) (type $i) (result i32) - (call_indirect $I + (call_indirect (type $I) (unreachable) ) ) @@ -1889,7 +1889,7 @@ int main() { ) (drop (i32.eqz - (call_indirect $iiIfF + (call_indirect (type $iiIfF) (i32.const 13) (i64.const 37) (f32.const 1.2999999523162842) diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt index a14138166..f7a454507 100644 --- a/test/example/c-api-kitchen-sink.txt.txt +++ b/test/example/c-api-kitchen-sink.txt.txt @@ -463,7 +463,7 @@ ) (drop (i32.eqz - (call_indirect $iiIfF + (call_indirect (type $iiIfF) (i32.const 13) (i64.const 37) (f32.const 1.2999999523162842) |