diff options
Diffstat (limited to 'test/lit/passes/optimize-instructions-gc-iit.wast')
-rw-r--r-- | test/lit/passes/optimize-instructions-gc-iit.wast | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lit/passes/optimize-instructions-gc-iit.wast b/test/lit/passes/optimize-instructions-gc-iit.wast index cc5e8aec9..1cd92d98a 100644 --- a/test/lit/passes/optimize-instructions-gc-iit.wast +++ b/test/lit/passes/optimize-instructions-gc-iit.wast @@ -13,7 +13,7 @@ (type $parent (sub (struct (field i32)))) ;; CHECK: (type $child (sub $parent (struct (field i32) (field f64)))) ;; TNH: (type $child (sub $parent (struct (field i32) (field f64)))) - (type $child (struct_subtype (field i32) (field f64) $parent)) + (type $child (sub $parent (struct (field i32) (field f64)))) ;; CHECK: (type $other (struct (field i64) (field f32))) ;; TNH: (type $other (struct (field i64) (field f32))) (type $other (struct (field i64) (field f32))) @@ -203,16 +203,16 @@ ;; CHECK-NEXT: (type $A (sub (struct ))) ;; TNH: (rec ;; TNH-NEXT: (type $A (sub (struct ))) - (type $A (struct_subtype data)) + (type $A (sub (struct ))) ;; CHECK: (type $B (sub $A (struct (field (ref null $A))))) ;; TNH: (type $B (sub $A (struct (field (ref null $A))))) - (type $B (struct_subtype (field (ref null $A)) $A)) + (type $B (sub $A (struct (field (ref null $A))))) ;; CHECK: (type $C (sub $B (struct (field (ref null $D))))) ;; TNH: (type $C (sub $B (struct (field (ref null $D))))) - (type $C (struct_subtype (field (ref null $D)) $B)) + (type $C (sub $B (struct (field (ref null $D))))) ;; CHECK: (type $D (sub $A (struct ))) ;; TNH: (type $D (sub $A (struct ))) - (type $D (struct_subtype $A)) + (type $D (sub $A (struct ))) ) ;; CHECK: (func $test (type $4) (param $C (ref $C)) (result anyref) |