summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.no-opts
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2017-11-13 15:18:30 -0800
committerGitHub <noreply@github.com>2017-11-13 15:18:30 -0800
commitca09203416a556f0a895f6cfa32426bdd46f9824 (patch)
tree263697a28594c67424472a7410d256994476f4de /test/unit.fromasm.no-opts
parent20b8b02ff331f8b59d44e2a72ebd6f81e08f49ac (diff)
downloadbinaryen-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.no-opts')
-rw-r--r--test/unit.fromasm.no-opts16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts
index b9cd7ce46..375c34af6 100644
--- a/test/unit.fromasm.no-opts
+++ b/test/unit.fromasm.no-opts
@@ -567,7 +567,7 @@
(get_local $x)
)
)
- (call_indirect $FUNCSIG$vf
+ (call_indirect (type $FUNCSIG$vf)
(get_local $x)
(i32.add
(i32.and
@@ -579,7 +579,7 @@
)
)
(func $cneg (; 28 ;) (param $x f32)
- (call_indirect $FUNCSIG$vf
+ (call_indirect (type $FUNCSIG$vf)
(get_local $x)
(i32.add
(i32.and
@@ -629,7 +629,7 @@
)
)
(func $cneg_nosemicolon (; 31 ;)
- (call_indirect $FUNCSIG$vi
+ (call_indirect (type $FUNCSIG$vi)
(i32.const 1)
(i32.add
(i32.and
@@ -1951,14 +1951,14 @@
)
)
(func $relocatableAndModules (; 70 ;) (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)
)
(return
- (call_indirect $FUNCSIG$idi
+ (call_indirect (type $FUNCSIG$idi)
(f64.const 1.5)
(i32.const 200)
(i32.const 30)
@@ -2038,7 +2038,7 @@
(local $i1 i32)
(set_local $i1
(block (result i32)
- (call_indirect $FUNCSIG$vi
+ (call_indirect (type $FUNCSIG$vi)
(i32.const 0)
(i32.add
(i32.and
@@ -2054,7 +2054,7 @@
)
(func $emterpretify_assertions_safeHeap (; 77 ;)
(local $i1 i32)
- (call_indirect $FUNCSIG$vi
+ (call_indirect (type $FUNCSIG$vi)
(get_local $i1)
(i32.add
(i32.and