summaryrefslogtreecommitdiff
path: root/test/reference-types.wast.from-wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/reference-types.wast.from-wast')
-rw-r--r--test/reference-types.wast.from-wast40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/reference-types.wast.from-wast b/test/reference-types.wast.from-wast
index 9a89da4db..1ccdc4d52 100644
--- a/test/reference-types.wast.from-wast
+++ b/test/reference-types.wast.from-wast
@@ -1,9 +1,9 @@
(module
(type $none_=>_anyref (func (result anyref)))
- (type $anyref_=>_none (func (param anyref)))
- (type $funcref_=>_none (func (param funcref)))
+ (type $sig_anyref (func (param anyref)))
+ (type $sig_funcref (func (param funcref)))
(type $none_=>_funcref (func (result funcref)))
- (type $externref_=>_none (func (param externref)))
+ (type $sig_externref (func (param externref)))
(type $none_=>_externref (func (result externref)))
(type $none_=>_none (func))
(type $i32_=>_none (func (param i32)))
@@ -191,71 +191,71 @@
(call $take_anyref
(ref.func $foo)
)
- (call_indirect $0 (type $externref_=>_none)
+ (call_indirect $0 (type $sig_externref)
(local.get $local_externref)
(i32.const 0)
)
- (call_indirect $0 (type $externref_=>_none)
+ (call_indirect $0 (type $sig_externref)
(global.get $global_externref)
(i32.const 0)
)
- (call_indirect $0 (type $externref_=>_none)
+ (call_indirect $0 (type $sig_externref)
(ref.null extern)
(i32.const 0)
)
- (call_indirect $0 (type $funcref_=>_none)
+ (call_indirect $0 (type $sig_funcref)
(local.get $local_funcref)
(i32.const 1)
)
- (call_indirect $0 (type $funcref_=>_none)
+ (call_indirect $0 (type $sig_funcref)
(global.get $global_funcref)
(i32.const 1)
)
- (call_indirect $0 (type $funcref_=>_none)
+ (call_indirect $0 (type $sig_funcref)
(ref.null func)
(i32.const 1)
)
- (call_indirect $0 (type $funcref_=>_none)
+ (call_indirect $0 (type $sig_funcref)
(ref.func $foo)
(i32.const 1)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(local.get $local_anyref)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(global.get $global_anyref)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(ref.null any)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(local.get $local_externref)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(global.get $global_externref)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(ref.null extern)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(local.get $local_funcref)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(global.get $global_funcref)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(ref.null func)
(i32.const 3)
)
- (call_indirect $0 (type $anyref_=>_none)
+ (call_indirect $0 (type $sig_anyref)
(ref.func $foo)
(i32.const 3)
)