diff options
Diffstat (limited to 'test/reference-types.wast.fromBinary')
-rw-r--r-- | test/reference-types.wast.fromBinary | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/test/reference-types.wast.fromBinary b/test/reference-types.wast.fromBinary index 609e91866..637a1d2c9 100644 --- a/test/reference-types.wast.fromBinary +++ b/test/reference-types.wast.fromBinary @@ -1,15 +1,15 @@ (module - (type $none_=>_anyref (func (result anyref))) + (type $0 (func (result anyref))) (type $sig_anyref (func (param anyref))) (type $sig_funcref (func (param funcref))) - (type $none_=>_funcref (func (result funcref))) + (type $3 (func (result funcref))) (type $sig_eqref (func (param eqref))) - (type $none_=>_none (func)) - (type $none_=>_eqref (func (result eqref))) - (type $i32_=>_none (func (param i32))) - (type $eqref_=>_funcref (func (param eqref) (result funcref))) + (type $5 (func)) + (type $6 (func (result eqref))) + (type $7 (func (param i32))) + (type $8 (func (param eqref) (result funcref))) (import "env" "import_global" (global $import_global eqref)) - (import "env" "import_func" (func $import_func (type $eqref_=>_funcref) (param eqref) (result funcref))) + (import "env" "import_func" (func $import_func (type $8) (param eqref) (result funcref))) (global $global_eqref (mut eqref) (ref.null none)) (global $global_funcref (mut funcref) (ref.null nofunc)) (global $global_funcref_func (mut funcref) (ref.func $foo)) @@ -30,10 +30,10 @@ (func $take_anyref (type $sig_anyref) (param $0 anyref) (nop) ) - (func $foo (type $none_=>_none) + (func $foo (type $5) (nop) ) - (func $test (type $none_=>_none) + (func $test (type $5) (local $local_eqref eqref) (local $local_funcref funcref) (local $local_anyref anyref) @@ -544,80 +544,80 @@ ) ) ) - (func $return_eqref_local (type $none_=>_eqref) (result eqref) + (func $return_eqref_local (type $6) (result eqref) (local $local_eqref eqref) (local.get $local_eqref) ) - (func $return_eqref_global (type $none_=>_eqref) (result eqref) + (func $return_eqref_global (type $6) (result eqref) (global.get $global_eqref) ) - (func $return_eqref_null (type $none_=>_eqref) (result eqref) + (func $return_eqref_null (type $6) (result eqref) (ref.null none) ) - (func $return_funcref_local (type $none_=>_funcref) (result funcref) + (func $return_funcref_local (type $3) (result funcref) (local $local_funcref funcref) (local.get $local_funcref) ) - (func $return_funcref_global (type $none_=>_funcref) (result funcref) + (func $return_funcref_global (type $3) (result funcref) (global.get $global_funcref) ) - (func $return_funcref_null (type $none_=>_funcref) (result funcref) + (func $return_funcref_null (type $3) (result funcref) (ref.null nofunc) ) - (func $return_funcref_func (type $none_=>_funcref) (result funcref) + (func $return_funcref_func (type $3) (result funcref) (ref.func $foo) ) - (func $return_anyref_local (type $none_=>_anyref) (result anyref) + (func $return_anyref_local (type $0) (result anyref) (local $local_anyref anyref) (local.get $local_anyref) ) - (func $return_anyref_global (type $none_=>_anyref) (result anyref) + (func $return_anyref_global (type $0) (result anyref) (global.get $global_anyref) ) - (func $return_anyref_null (type $none_=>_anyref) (result anyref) + (func $return_anyref_null (type $0) (result anyref) (ref.null none) ) - (func $return_anyref2 (type $none_=>_anyref) (result anyref) + (func $return_anyref2 (type $0) (result anyref) (local $local_eqref eqref) (local.get $local_eqref) ) - (func $return_anyref3 (type $none_=>_anyref) (result anyref) + (func $return_anyref3 (type $0) (result anyref) (global.get $global_eqref) ) - (func $return_anyref4 (type $none_=>_anyref) (result anyref) + (func $return_anyref4 (type $0) (result anyref) (ref.null none) ) - (func $returns_eqref (type $none_=>_eqref) (result eqref) + (func $returns_eqref (type $6) (result eqref) (local $local_eqref eqref) (return (local.get $local_eqref) ) ) - (func $returns_funcref (type $none_=>_funcref) (result funcref) + (func $returns_funcref (type $3) (result funcref) (local $local_funcref funcref) (return (local.get $local_funcref) ) ) - (func $returns_anyref (type $none_=>_anyref) (result anyref) + (func $returns_anyref (type $0) (result anyref) (local $local_anyref anyref) (return (local.get $local_anyref) ) ) - (func $returns_anyref2 (type $none_=>_anyref) (result anyref) + (func $returns_anyref2 (type $0) (result anyref) (local $local_eqref eqref) (local $local_funcref funcref) (return (local.get $local_eqref) ) ) - (func $ref-user (type $none_=>_none) + (func $ref-user (type $5) (drop (ref.func $ref-taken-but-not-in-table) ) ) - (func $ref-taken-but-not-in-table (type $none_=>_none) + (func $ref-taken-but-not-in-table (type $5) (nop) ) ) |