diff options
Diffstat (limited to 'test/lit/gc-read-write-effects.wast')
-rw-r--r-- | test/lit/gc-read-write-effects.wast | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/lit/gc-read-write-effects.wast b/test/lit/gc-read-write-effects.wast index da869e9b9..e05335554 100644 --- a/test/lit/gc-read-write-effects.wast +++ b/test/lit/gc-read-write-effects.wast @@ -4,11 +4,9 @@ ;; struct field. ;; RUN: wasm-opt -all --simplify-locals %s -S -o - | filecheck %s -;; RUN: wasm-opt -all --simplify-locals %s --nominal -S -o - | filecheck %s --check-prefix=NOMNL (module ;; CHECK: (type $A (struct (field (mut i32)))) - ;; NOMNL: (type $A (struct (field (mut i32)))) (type $A (struct (field (mut i32)) )) @@ -37,19 +35,6 @@ ;; CHECK-NEXT: ) ;; CHECK-NEXT: (local.get $y) ;; CHECK-NEXT: ) - ;; NOMNL: (func $test (type $ref?|$A|_=>_i32) (param $x (ref null $A)) (result i32) - ;; NOMNL-NEXT: (local $y i32) - ;; NOMNL-NEXT: (local.set $y - ;; NOMNL-NEXT: (struct.get $A 0 - ;; NOMNL-NEXT: (local.get $x) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: (struct.set $A 0 - ;; NOMNL-NEXT: (local.get $x) - ;; NOMNL-NEXT: (i32.const 10) - ;; NOMNL-NEXT: ) - ;; NOMNL-NEXT: (local.get $y) - ;; NOMNL-NEXT: ) (func $test (export "test") (param $x (ref null $A)) (result i32) (local $y i32) (local.set $y |