summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm-dis.test
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-01-30 06:24:39 -0800
committerGitHub <noreply@github.com>2024-01-30 06:24:39 -0800
commit9361edfcd83310b2eac6ceca08db0d44ad22aa52 (patch)
tree6b4a940eb71744221ff56b2392d81be6799a97a8 /test/lit/help/wasm-dis.test
parent88d6b7c08f3fbf1b510ae630f83ff8d44321b151 (diff)
downloadbinaryen-9361edfcd83310b2eac6ceca08db0d44ad22aa52.tar.gz
binaryen-9361edfcd83310b2eac6ceca08db0d44ad22aa52.tar.bz2
binaryen-9361edfcd83310b2eac6ceca08db0d44ad22aa52.zip
[Parser] Parse pops (by doing nothing) (#6252)
Parse pop expressions and check that they have the expected types, but do not actually create new Pop expressions or push anything onto the stack because we already create Pop expressions as necessary when visiting the beginning of catch blocks. Unlike the legacy text parser, the new text parser is not capable of parsing pops in invalid locations in the IR. This means that the new text parser will never be able to parse test/lit/catch-pop-fixup-eh-old.wast, which deliberately parses invalid IR to check that the pops can be fixed up and moved to the correct locations. It should be acceptable to delete that test when we turn on the new parser by default, though, so that won't be a problem.
Diffstat (limited to 'test/lit/help/wasm-dis.test')
0 files changed, 0 insertions, 0 deletions