diff options
author | Thomas Lively <tlively@google.com> | 2024-01-29 16:31:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 16:31:33 -0800 |
commit | 88d6b7c08f3fbf1b510ae630f83ff8d44321b151 (patch) | |
tree | 1227b162507a7c1e7de2b8255ccdd0bef34e1347 /test/spec | |
parent | c0046ad0e44d39f7ef33fa6a401a0d9d5a34a578 (diff) | |
download | binaryen-88d6b7c08f3fbf1b510ae630f83ff8d44321b151.tar.gz binaryen-88d6b7c08f3fbf1b510ae630f83ff8d44321b151.tar.bz2 binaryen-88d6b7c08f3fbf1b510ae630f83ff8d44321b151.zip |
Update pop text syntax (#6251)
Rather than `(pop valtype*)`, use `(pop valtype)`, where `valtype` is now
allowed to be a tuple. This will make it possible to parse un-folded multivalue
pops in the new text parser. The alternative would have been to put an arity in
the syntax like we have for other tuple instructions, but that's much uglier.
Diffstat (limited to 'test/spec')
-rw-r--r-- | test/spec/exception-handling-old.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec/exception-handling-old.wast b/test/spec/exception-handling-old.wast index b56c4f295..5024fa734 100644 --- a/test/spec/exception-handling-old.wast +++ b/test/spec/exception-handling-old.wast @@ -82,7 +82,7 @@ ) (catch $e-i32-f32 (local.set $x - (pop i32 f32) + (pop (tuple i32 f32)) ) (tuple.extract 2 0 (local.get $x) |