diff options
author | Alon Zakai <azakai@google.com> | 2021-02-25 21:15:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 13:15:41 -0800 |
commit | 04c1515acb354714af3d07fe2a3b65b2bb0398ab (patch) | |
tree | e73935d0407777fe1ae2742717f00ebc4f336928 /test/reference-types.wast.fromBinary | |
parent | c64a50d46cd3b5d5c19411b3ac4d8f0ba10c2efd (diff) | |
download | binaryen-04c1515acb354714af3d07fe2a3b65b2bb0398ab.tar.gz binaryen-04c1515acb354714af3d07fe2a3b65b2bb0398ab.tar.bz2 binaryen-04c1515acb354714af3d07fe2a3b65b2bb0398ab.zip |
Support Type names in the Names section (#3615)
Diffstat (limited to 'test/reference-types.wast.fromBinary')
-rw-r--r-- | test/reference-types.wast.fromBinary | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/test/reference-types.wast.fromBinary b/test/reference-types.wast.fromBinary index 02be5171e..283a1efe3 100644 --- a/test/reference-types.wast.fromBinary +++ b/test/reference-types.wast.fromBinary @@ -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_funcref) (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_externref) (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_funcref) (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_externref) (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) ) |