diff options
Diffstat (limited to 'test/reference-types.wast.from-wast')
-rw-r--r-- | test/reference-types.wast.from-wast | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/reference-types.wast.from-wast b/test/reference-types.wast.from-wast index 598e38e70..4fc170fce 100644 --- a/test/reference-types.wast.from-wast +++ b/test/reference-types.wast.from-wast @@ -21,22 +21,22 @@ (global $global_funcref2 (mut funcref) (ref.func $foo)) (export "export_func" (func $import_func)) (export "export_global" (global $import_global)) - (func $take_anyref (; 1 ;) (param $0 anyref) + (func $take_anyref (param $0 anyref) (nop) ) - (func $take_funcref (; 2 ;) (param $0 funcref) + (func $take_funcref (param $0 funcref) (nop) ) - (func $take_exnref (; 3 ;) (param $0 exnref) + (func $take_exnref (param $0 exnref) (nop) ) - (func $take_nullref (; 4 ;) (param $0 nullref) + (func $take_nullref (param $0 nullref) (nop) ) - (func $foo (; 5 ;) + (func $foo (nop) ) - (func $test (; 6 ;) + (func $test (local $local_anyref anyref) (local $local_funcref funcref) (local $local_exnref exnref) @@ -433,38 +433,38 @@ ) ) ) - (func $return_anyref (; 7 ;) (result anyref) + (func $return_anyref (result anyref) (local $local_anyref anyref) (local.get $local_anyref) ) - (func $return_anyref2 (; 8 ;) (result anyref) + (func $return_anyref2 (result anyref) (ref.func $foo) ) - (func $return_anyref3 (; 9 ;) (result anyref) + (func $return_anyref3 (result anyref) (local $local_exnref exnref) (local.get $local_exnref) ) - (func $return_anyref4 (; 10 ;) (result anyref) + (func $return_anyref4 (result anyref) (ref.null) ) - (func $return_funcref (; 11 ;) (result funcref) + (func $return_funcref (result funcref) (ref.func $foo) ) - (func $return_funcref2 (; 12 ;) (result funcref) + (func $return_funcref2 (result funcref) (ref.null) ) - (func $return_exnref (; 13 ;) (result exnref) + (func $return_exnref (result exnref) (local $local_exnref exnref) (local.get $local_exnref) ) - (func $return_exnref2 (; 14 ;) (result exnref) + (func $return_exnref2 (result exnref) (ref.null) ) - (func $return_nullref (; 15 ;) (result nullref) + (func $return_nullref (result nullref) (local $local_nullref nullref) (local.get $local_nullref) ) - (func $return_anyref_returns (; 16 ;) (result anyref) + (func $return_anyref_returns (result anyref) (local $local_anyref anyref) (local $local_exnref exnref) (return @@ -480,7 +480,7 @@ (ref.null) ) ) - (func $return_funcref_returns (; 17 ;) (result funcref) + (func $return_funcref_returns (result funcref) (return (ref.func $foo) ) @@ -488,7 +488,7 @@ (ref.null) ) ) - (func $return_exnref_returns (; 18 ;) (result exnref) + (func $return_exnref_returns (result exnref) (local $local_exnref exnref) (return (local.get $local_exnref) @@ -497,7 +497,7 @@ (ref.null) ) ) - (func $return_nullref_returns (; 19 ;) (result nullref) + (func $return_nullref_returns (result nullref) (local $local_nullref nullref) (return (local.get $local_nullref) |