diff options
Diffstat (limited to 'test/lit/passes/stack-ir-non-nullable.wast')
-rw-r--r-- | test/lit/passes/stack-ir-non-nullable.wast | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/lit/passes/stack-ir-non-nullable.wast b/test/lit/passes/stack-ir-non-nullable.wast index 0dfc4d370..f397aa22e 100644 --- a/test/lit/passes/stack-ir-non-nullable.wast +++ b/test/lit/passes/stack-ir-non-nullable.wast @@ -343,7 +343,7 @@ ;; CHECK-NEXT: (local $temp (i32 (ref eq))) ;; CHECK-NEXT: i32.const 0 ;; CHECK-NEXT: local.get $param - ;; CHECK-NEXT: tuple.make + ;; CHECK-NEXT: tuple.make 2 ;; CHECK-NEXT: local.set $temp ;; CHECK-NEXT: local.get $temp ;; CHECK-NEXT: tuple.extract 1 @@ -354,13 +354,13 @@ ;; CHECK-NEXT: i32.const 2 ;; CHECK-NEXT: i32.const 3 ;; CHECK-NEXT: ref.i31 - ;; CHECK-NEXT: tuple.make + ;; CHECK-NEXT: tuple.make 2 ;; CHECK-NEXT: local.set $temp ;; CHECK-NEXT: else ;; CHECK-NEXT: i32.const 4 ;; CHECK-NEXT: i32.const 5 ;; CHECK-NEXT: ref.i31 - ;; CHECK-NEXT: tuple.make + ;; CHECK-NEXT: tuple.make 2 ;; CHECK-NEXT: local.set $temp ;; CHECK-NEXT: end ;; CHECK-NEXT: local.get $temp @@ -372,7 +372,7 @@ ;; than a non-nullable reference by itself. We cannot remove the first set ;; here. (local.set $temp - (tuple.make + (tuple.make 2 (i32.const 0) (local.get $param) ) @@ -387,7 +387,7 @@ ) ) (local.set $temp - (tuple.make + (tuple.make 2 (i32.const 2) (i31.new (i32.const 3) @@ -395,7 +395,7 @@ ) ) (local.set $temp - (tuple.make + (tuple.make 2 (i32.const 4) (i31.new (i32.const 5) @@ -412,7 +412,7 @@ ;; CHECK-NEXT: (local $temp (i32 eqref)) ;; CHECK-NEXT: i32.const 0 ;; CHECK-NEXT: local.get $param - ;; CHECK-NEXT: tuple.make + ;; CHECK-NEXT: tuple.make 2 ;; CHECK-NEXT: local.set $temp ;; CHECK-NEXT: local.get $temp ;; CHECK-NEXT: tuple.extract 1 @@ -423,13 +423,13 @@ ;; CHECK-NEXT: i32.const 2 ;; CHECK-NEXT: i32.const 3 ;; CHECK-NEXT: ref.i31 - ;; CHECK-NEXT: tuple.make + ;; CHECK-NEXT: tuple.make 2 ;; CHECK-NEXT: local.set $temp ;; CHECK-NEXT: else ;; CHECK-NEXT: i32.const 4 ;; CHECK-NEXT: i32.const 5 ;; CHECK-NEXT: ref.i31 - ;; CHECK-NEXT: tuple.make + ;; CHECK-NEXT: tuple.make 2 ;; CHECK-NEXT: local.set $temp ;; CHECK-NEXT: end ;; CHECK-NEXT: local.get $temp @@ -440,7 +440,7 @@ ;; As the last testcase, but now $temp is a defaultable tuple. We still do not ;; optimize away the set here, as we ignore tuples in local2stack. (local.set $temp - (tuple.make + (tuple.make 2 (i32.const 0) (local.get $param) ) @@ -455,7 +455,7 @@ ) ) (local.set $temp - (tuple.make + (tuple.make 2 (i32.const 2) (i31.new (i32.const 3) @@ -463,7 +463,7 @@ ) ) (local.set $temp - (tuple.make + (tuple.make 2 (i32.const 4) (i31.new (i32.const 5) |