summaryrefslogtreecommitdiff
path: root/test/dot_s
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s')
-rw-r--r--test/dot_s/alias.wast2
-rw-r--r--test/dot_s/basics.wast2
-rw-r--r--test/dot_s/bcp-1.wast38
-rw-r--r--test/dot_s/dyncall.wast6
-rw-r--r--test/dot_s/fix_em_ehsjlj_names.wast8
-rw-r--r--test/dot_s/indidx.wast4
-rw-r--r--test/dot_s/indirect-import.wast6
7 files changed, 33 insertions, 33 deletions
diff --git a/test/dot_s/alias.wast b/test/dot_s/alias.wast
index 3e70a8c31..4fa629157 100644
--- a/test/dot_s/alias.wast
+++ b/test/dot_s/alias.wast
@@ -62,7 +62,7 @@
(unreachable)
)
(func $dynCall_v (; 6 ;) (param $fptr i32)
- (call_indirect $FUNCSIG$v
+ (call_indirect (type $FUNCSIG$v)
(get_local $fptr)
)
)
diff --git a/test/dot_s/basics.wast b/test/dot_s/basics.wast
index 99c78be9d..9215507f7 100644
--- a/test/dot_s/basics.wast
+++ b/test/dot_s/basics.wast
@@ -131,7 +131,7 @@
(unreachable)
)
(func $dynCall_iii (; 6 ;) (param $fptr i32) (param $0 i32) (param $1 i32) (result i32)
- (call_indirect $FUNCSIG$iii
+ (call_indirect (type $FUNCSIG$iii)
(get_local $0)
(get_local $1)
(get_local $fptr)
diff --git a/test/dot_s/bcp-1.wast b/test/dot_s/bcp-1.wast
index 8d333e7bc..79072396c 100644
--- a/test/dot_s/bcp-1.wast
+++ b/test/dot_s/bcp-1.wast
@@ -132,42 +132,42 @@
)
(block $label$0
(br_if $label$0
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=16
(get_local $0)
)
)
)
(br_if $label$0
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=20
(get_local $0)
)
)
)
(br_if $label$0
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=24
(get_local $0)
)
)
)
(br_if $label$0
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=28
(get_local $0)
)
)
)
(br_if $label$0
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=32
(get_local $0)
)
)
)
(br_if $label$0
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=36
(get_local $0)
)
@@ -183,13 +183,13 @@
)
(block $label$1
(br_if $label$1
- (call_indirect $FUNCSIG$ii
+ (call_indirect (type $FUNCSIG$ii)
(get_local $2)
(get_local $1)
)
)
(br_if $label$1
- (call_indirect $FUNCSIG$ii
+ (call_indirect (type $FUNCSIG$ii)
(get_local $2)
(i32.load offset=44
(get_local $0)
@@ -197,7 +197,7 @@
)
)
(br_if $label$1
- (call_indirect $FUNCSIG$ii
+ (call_indirect (type $FUNCSIG$ii)
(get_local $2)
(i32.load offset=48
(get_local $0)
@@ -214,13 +214,13 @@
)
(block $label$2
(br_if $label$2
- (call_indirect $FUNCSIG$ii
+ (call_indirect (type $FUNCSIG$ii)
(get_local $2)
(get_local $1)
)
)
(br_if $label$2
- (call_indirect $FUNCSIG$ii
+ (call_indirect (type $FUNCSIG$ii)
(get_local $2)
(i32.load offset=56
(get_local $0)
@@ -230,7 +230,7 @@
(block $label$3
(br_if $label$3
(i32.eq
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=60
(get_local $0)
)
@@ -240,7 +240,7 @@
)
(br_if $label$3
(i32.eq
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=64
(get_local $0)
)
@@ -250,7 +250,7 @@
)
(br_if $label$3
(i32.eq
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=68
(get_local $0)
)
@@ -261,7 +261,7 @@
(block $label$4
(br_if $label$4
(i32.eq
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=72
(get_local $0)
)
@@ -271,7 +271,7 @@
)
(br_if $label$4
(i32.eq
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=76
(get_local $0)
)
@@ -281,7 +281,7 @@
)
(br_if $label$4
(i32.eq
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(i32.load offset=80
(get_local $0)
)
@@ -343,12 +343,12 @@
(unreachable)
)
(func $dynCall_i (; 24 ;) (param $fptr i32) (result i32)
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(get_local $fptr)
)
)
(func $dynCall_ii (; 25 ;) (param $fptr i32) (param $0 i32) (result i32)
- (call_indirect $FUNCSIG$ii
+ (call_indirect (type $FUNCSIG$ii)
(get_local $0)
(get_local $fptr)
)
diff --git a/test/dot_s/dyncall.wast b/test/dot_s/dyncall.wast
index 2656ce5c4..27d1ddaf7 100644
--- a/test/dot_s/dyncall.wast
+++ b/test/dot_s/dyncall.wast
@@ -84,18 +84,18 @@
(unreachable)
)
(func $dynCall_i (; 10 ;) (param $fptr i32) (result i32)
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(get_local $fptr)
)
)
(func $dynCall_if (; 11 ;) (param $fptr i32) (param $0 f32) (result i32)
- (call_indirect $FUNCSIG$if
+ (call_indirect (type $FUNCSIG$if)
(get_local $0)
(get_local $fptr)
)
)
(func $dynCall_vd (; 12 ;) (param $fptr i32) (param $0 f64)
- (call_indirect $FUNCSIG$vd
+ (call_indirect (type $FUNCSIG$vd)
(get_local $0)
(get_local $fptr)
)
diff --git a/test/dot_s/fix_em_ehsjlj_names.wast b/test/dot_s/fix_em_ehsjlj_names.wast
index d61668c83..a287983e8 100644
--- a/test/dot_s/fix_em_ehsjlj_names.wast
+++ b/test/dot_s/fix_em_ehsjlj_names.wast
@@ -110,12 +110,12 @@
(unreachable)
)
(func $dynCall_v (; 14 ;) (param $fptr i32)
- (call_indirect $FUNCSIG$v
+ (call_indirect (type $FUNCSIG$v)
(get_local $fptr)
)
)
(func $dynCall_iiii (; 15 ;) (param $fptr i32) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
- (call_indirect $FUNCSIG$iiii
+ (call_indirect (type $FUNCSIG$iiii)
(get_local $0)
(get_local $1)
(get_local $2)
@@ -123,14 +123,14 @@
)
)
(func $dynCall_ffd (; 16 ;) (param $fptr i32) (param $0 f32) (param $1 f64) (result f32)
- (call_indirect $FUNCSIG$ffd
+ (call_indirect (type $FUNCSIG$ffd)
(get_local $0)
(get_local $1)
(get_local $fptr)
)
)
(func $dynCall_iii (; 17 ;) (param $fptr i32) (param $0 i32) (param $1 i32) (result i32)
- (call_indirect $FUNCSIG$iii
+ (call_indirect (type $FUNCSIG$iii)
(get_local $0)
(get_local $1)
(get_local $fptr)
diff --git a/test/dot_s/indidx.wast b/test/dot_s/indidx.wast
index 36a62da91..194868832 100644
--- a/test/dot_s/indidx.wast
+++ b/test/dot_s/indidx.wast
@@ -43,7 +43,7 @@
)
)
(return
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(get_local $2)
)
)
@@ -85,7 +85,7 @@
(unreachable)
)
(func $dynCall_i (; 10 ;) (param $fptr i32) (result i32)
- (call_indirect $FUNCSIG$i
+ (call_indirect (type $FUNCSIG$i)
(get_local $fptr)
)
)
diff --git a/test/dot_s/indirect-import.wast b/test/dot_s/indirect-import.wast
index 3ee67e2a6..1b4c019ab 100644
--- a/test/dot_s/indirect-import.wast
+++ b/test/dot_s/indirect-import.wast
@@ -153,18 +153,18 @@
)
)
(func $dynCall_fd (; 18 ;) (param $fptr i32) (param $0 f64) (result f32)
- (call_indirect $FUNCSIG$fd
+ (call_indirect (type $FUNCSIG$fd)
(get_local $0)
(get_local $fptr)
)
)
(func $dynCall_v (; 19 ;) (param $fptr i32)
- (call_indirect $FUNCSIG$v
+ (call_indirect (type $FUNCSIG$v)
(get_local $fptr)
)
)
(func $dynCall_vi (; 20 ;) (param $fptr i32) (param $0 i32)
- (call_indirect $FUNCSIG$vi
+ (call_indirect (type $FUNCSIG$vi)
(get_local $0)
(get_local $fptr)
)