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/unit.fromasm.imprecise | |
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/unit.fromasm.imprecise')
-rw-r--r-- | test/unit.fromasm.imprecise | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 41b365bdc..6cda1e7c1 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -255,7 +255,7 @@ ) (func $neg (; 19 ;) (local $0 f32) - (call_indirect $FUNCSIG$vf + (call_indirect (type $FUNCSIG$vf) (f32.neg (get_local $0) ) @@ -263,7 +263,7 @@ ) ) (func $cneg (; 20 ;) (param $0 f32) - (call_indirect $FUNCSIG$vf + (call_indirect (type $FUNCSIG$vf) (get_local $0) (i32.const 9) ) @@ -296,7 +296,7 @@ (get_local $0) ) (func $cneg_nosemicolon (; 22 ;) - (call_indirect $FUNCSIG$vi + (call_indirect (type $FUNCSIG$vi) (i32.const 1) (i32.const 17) ) @@ -1126,13 +1126,13 @@ ) ) (func $relocatableAndModules (; 55 ;) (result i32) - (call_indirect $FUNCSIG$v + (call_indirect (type $FUNCSIG$v) (i32.const 10) ) - (call_indirect $FUNCSIG$v + (call_indirect (type $FUNCSIG$v) (i32.const 20) ) - (call_indirect $FUNCSIG$idi + (call_indirect (type $FUNCSIG$idi) (f64.const 1.5) (i32.const 200) (i32.const 30) @@ -1166,11 +1166,11 @@ (f64.const 2.18281) ) ) - (call_indirect $FUNCSIG$vi + (call_indirect (type $FUNCSIG$vi) (i32.const 0) (i32.const 17) ) - (call_indirect $FUNCSIG$vi + (call_indirect (type $FUNCSIG$vi) (i32.const 0) (block (result i32) (set_global $Int |