diff options
Diffstat (limited to 'test/passes')
6 files changed, 45 insertions, 46 deletions
diff --git a/test/passes/precompute_all-features.txt b/test/passes/precompute_all-features.txt index 70c790484..89d334a93 100644 --- a/test/passes/precompute_all-features.txt +++ b/test/passes/precompute_all-features.txt @@ -5,7 +5,7 @@ (type $0 (func (param i32))) (type $none_=>_v128 (func (result v128))) (type $none_=>_i32_i64 (func (result i32 i64))) - (type $none_=>_anyref (func (result anyref))) + (type $none_=>_externref (func (result externref))) (global $global i32 (i32.const 1)) (global $global-mut (mut i32) (i32.const 2)) (memory $0 512 512) @@ -253,8 +253,8 @@ (func $loop-precompute (result i32) (i32.const 1) ) - (func $reftype-test (result anyref) - (ref.null any) + (func $reftype-test (result externref) + (ref.null extern) ) (func $dummy (nop) @@ -276,18 +276,18 @@ ) ) (drop - (block $l2 (result anyref) + (block $l2 (result externref) (drop (block $l3 (global.set $global-mut (i32.const 1) ) (br $l2 - (ref.null any) + (ref.null extern) ) ) ) - (ref.null any) + (ref.null extern) ) ) (drop diff --git a/test/passes/simplify-globals_all-features.txt b/test/passes/simplify-globals_all-features.txt index 5ad54b0a8..ace056aac 100644 --- a/test/passes/simplify-globals_all-features.txt +++ b/test/passes/simplify-globals_all-features.txt @@ -213,9 +213,9 @@ ) (module (type $none_=>_none (func)) - (import "env" "global-1" (global $g1 anyref)) - (global $g2 anyref (global.get $g1)) - (global $g3 anyref (ref.null any)) + (import "env" "global-1" (global $g1 externref)) + (global $g2 externref (global.get $g1)) + (global $g3 externref (ref.null extern)) (func $test1 (drop (global.get $g1) @@ -226,7 +226,7 @@ ) (func $test2 (drop - (ref.null any) + (ref.null extern) ) ) ) diff --git a/test/passes/simplify-locals_all-features.txt b/test/passes/simplify-locals_all-features.txt index 0c25ea54b..d4338870d 100644 --- a/test/passes/simplify-locals_all-features.txt +++ b/test/passes/simplify-locals_all-features.txt @@ -1884,7 +1884,7 @@ (module (type $none_=>_anyref (func (result anyref))) (func $subtype-test (result anyref) - (local $0 anyref) + (local $0 eqref) (local $1 anyref) (local $2 anyref) (block $block diff --git a/test/passes/simplify-locals_all-features.wast b/test/passes/simplify-locals_all-features.wast index 7d153efd9..ff70a2774 100644 --- a/test/passes/simplify-locals_all-features.wast +++ b/test/passes/simplify-locals_all-features.wast @@ -1657,7 +1657,7 @@ ) (module (func $subtype-test (result anyref) - (local $0 externref) + (local $0 eqref) (local $1 anyref) (local $2 anyref) (block diff --git a/test/passes/strip-target-features_roundtrip_print-features_all-features.txt b/test/passes/strip-target-features_roundtrip_print-features_all-features.txt index fa7221683..994453007 100644 --- a/test/passes/strip-target-features_roundtrip_print-features_all-features.txt +++ b/test/passes/strip-target-features_roundtrip_print-features_all-features.txt @@ -15,14 +15,14 @@ --enable-extended-const --enable-strings (module - (type $none_=>_v128_anyref (func (result v128 anyref))) - (func $foo (result v128 anyref) + (type $none_=>_v128_externref (func (result v128 externref))) + (func $foo (result v128 externref) (tuple.make (v128.const i32x4 0x00000000 0x00000000 0x00000000 0x00000000) - (ref.null any) + (ref.null extern) ) ) - (func $bar (result v128 anyref) + (func $bar (result v128 externref) (return_call $foo) ) ) diff --git a/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt b/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt index aac1cbc83..5e4beae81 100644 --- a/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt +++ b/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt @@ -1,6 +1,6 @@ total - [exports] : 10 - [funcs] : 12 + [exports] : 9 + [funcs] : 13 [globals] : 6 [imports] : 5 [memories] : 1 @@ -8,34 +8,33 @@ total [table-data] : 4 [tables] : 1 [tags] : 0 - [total] : 549 - [vars] : 22 - AtomicCmpxchg : 1 - AtomicFence : 1 - Binary : 71 - Block : 60 - Break : 2 - Call : 23 - CallRef : 2 - Const : 119 - Drop : 3 - GlobalGet : 35 - GlobalSet : 19 - I31New : 6 - If : 25 - Load : 16 - LocalGet : 45 - LocalSet : 23 - Loop : 6 - Nop : 7 - RefFunc : 11 + [total] : 669 + [vars] : 20 + ArrayInit : 3 + AtomicCmpxchg : 2 + Binary : 75 + Block : 81 + Break : 8 + Call : 44 + CallRef : 1 + Const : 137 + Drop : 10 + GlobalGet : 41 + GlobalSet : 22 + I31New : 8 + If : 31 + Load : 18 + LocalGet : 48 + LocalSet : 27 + Loop : 8 + Nop : 12 + RefFunc : 10 RefIs : 1 - RefNull : 2 + RefNull : 4 Return : 27 - SIMDExtract : 1 Select : 1 - Store : 3 - StructNew : 2 - TupleMake : 7 - Unary : 29 - Unreachable : 1 + Store : 1 + StructNew : 7 + TupleExtract : 1 + TupleMake : 6 + Unary : 35 |