diff options
author | Thomas Lively <tlively@google.com> | 2022-10-18 13:54:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 13:54:22 -0500 |
commit | 8377174c3bb56b58cda054b3210799439004e229 (patch) | |
tree | 0d172db76ef1409b4c2e4134a39e1418dfbb52fc /test/lit/passes/optimize-instructions-gc.wast | |
parent | 6bef18672fae68ee4976a7b26f277f6caa32734f (diff) | |
download | binaryen-8377174c3bb56b58cda054b3210799439004e229.tar.gz binaryen-8377174c3bb56b58cda054b3210799439004e229.tar.bz2 binaryen-8377174c3bb56b58cda054b3210799439004e229.zip |
Parse and emit `array.len` without a type annotation (#5151)
Test that we can still parse the old annotated form as well.
Diffstat (limited to 'test/lit/passes/optimize-instructions-gc.wast')
-rw-r--r-- | test/lit/passes/optimize-instructions-gc.wast | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/passes/optimize-instructions-gc.wast b/test/lit/passes/optimize-instructions-gc.wast index c0d106250..fb50d103f 100644 --- a/test/lit/passes/optimize-instructions-gc.wast +++ b/test/lit/passes/optimize-instructions-gc.wast @@ -766,7 +766,7 @@ ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) ;; CHECK-NEXT: (drop - ;; CHECK-NEXT: (array.len $array + ;; CHECK-NEXT: (array.len ;; CHECK-NEXT: (local.get $y) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) @@ -801,7 +801,7 @@ ;; NOMNL-NEXT: ) ;; NOMNL-NEXT: ) ;; NOMNL-NEXT: (drop - ;; NOMNL-NEXT: (array.len $array + ;; NOMNL-NEXT: (array.len ;; NOMNL-NEXT: (local.get $y) ;; NOMNL-NEXT: ) ;; NOMNL-NEXT: ) |