summaryrefslogtreecommitdiff
path: root/test/lit/passes/string-lowering-instructions.wast
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-02-29 10:37:41 -0800
committerGitHub <noreply@github.com>2024-02-29 10:37:41 -0800
commit7cd00ad485d9bcb68a4a36d4b1291439349e4f5c (patch)
treef48a4edf82f1d70a3b014f2e5a3c7f35d399e15e /test/lit/passes/string-lowering-instructions.wast
parenta9418461ef5188d2b2dea32b3047cc7bb3b173b3 (diff)
downloadbinaryen-7cd00ad485d9bcb68a4a36d4b1291439349e4f5c.tar.gz
binaryen-7cd00ad485d9bcb68a4a36d4b1291439349e4f5c.tar.bz2
binaryen-7cd00ad485d9bcb68a4a36d4b1291439349e4f5c.zip
[Parser] Do not require a memory for GC string ops (#6363)
We previously required a memory to exist while parsing all `StringNew` and `StringEncode` instructions, even though some variants of the instructions use GC arrays instead. Require a memory only for those instructions that use one.
Diffstat (limited to 'test/lit/passes/string-lowering-instructions.wast')
-rw-r--r--test/lit/passes/string-lowering-instructions.wast1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lit/passes/string-lowering-instructions.wast b/test/lit/passes/string-lowering-instructions.wast
index d1b8172e2..97186fba7 100644
--- a/test/lit/passes/string-lowering-instructions.wast
+++ b/test/lit/passes/string-lowering-instructions.wast
@@ -1,6 +1,7 @@
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
;; RUN: foreach %s %t wasm-opt --string-lowering -all -S -o - | filecheck %s
+;; RUN: foreach %s %t wasm-opt --new-wat-parser --string-lowering -all -S -o - | filecheck %s
(module
(rec