summaryrefslogtreecommitdiff
path: root/test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-04-25 14:55:12 -0700
committerGitHub <noreply@github.com>2024-04-25 14:55:12 -0700
commit956d2d89d530012885c1f88c87bf8b872c187b70 (patch)
treea24095ab6965bbfdfd04afbc02c33a3409d51fd0 /test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast
parentf44dcd4482f5bbb0fb5b567de4a9425ed949c939 (diff)
downloadbinaryen-956d2d89d530012885c1f88c87bf8b872c187b70.tar.gz
binaryen-956d2d89d530012885c1f88c87bf8b872c187b70.tar.bz2
binaryen-956d2d89d530012885c1f88c87bf8b872c187b70.zip
[Parser] Enable the new text parser by default (#6371)
The new text parser is faster and more standards compliant than the old text parser. Enable it by default in wasm-opt and update the tests to reflect the slightly different results it produces. Besides following the spec, the new parser differs from the old parser in that it: - Does not synthesize `loop` and `try` labels unnecessarily - Synthesizes different block names in some cases - Parses exports in a different order - Parses `nop`s instead of empty blocks for empty control flow arms - Does not support parsing Poppy IR - Produces different error messages - Cannot parse `pop` except as the first instruction inside a `catch`
Diffstat (limited to 'test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast')
-rw-r--r--test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast b/test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast
index adef11937..b0b758b49 100644
--- a/test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast
+++ b/test/lit/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-propagate-addlist.wast
@@ -4,7 +4,6 @@
;; RUN: foreach %s %t wasm-opt --asyncify --pass-arg=asyncify-addlist@foo -S --pass-arg=asyncify-propagate-addlist -o - | filecheck %s
(module
- (memory 1 2)
;; CHECK: (type $0 (func))
;; CHECK: (type $1 (func (param i32)))
@@ -13,6 +12,8 @@
;; CHECK: (import "env" "import" (func $import))
(import "env" "import" (func $import))
+
+ (memory 1 2)
;; CHECK: (global $__asyncify_state (mut i32) (i32.const 0))
;; CHECK: (global $__asyncify_data (mut i32) (i32.const 0))