diff options
author | Thomas Lively <tlively@google.com> | 2023-12-12 11:25:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 11:25:53 -0800 |
commit | a2a59e96f8f18e00e8aea9627d3b15d894d5a825 (patch) | |
tree | 6692c7556659ddb2a72178ed931445eb112c60f2 /test/lit/ctor-eval | |
parent | 71dad8795112b5c9ed1442450fa7e7bbe33622d1 (diff) | |
download | binaryen-a2a59e96f8f18e00e8aea9627d3b15d894d5a825.tar.gz binaryen-a2a59e96f8f18e00e8aea9627d3b15d894d5a825.tar.bz2 binaryen-a2a59e96f8f18e00e8aea9627d3b15d894d5a825.zip |
Update `tuple.make` text format to include arity (#6169)
Previously, the number of tuple elements was inferred from the number of
s-expression children of the `tuple.make` expression, but that scheme would not
work in the new wat parser, where s-expressions are optional and cannot be
semantically meaningful.
Update the text format to take the number of tuple elements (i.e. the tuple
arity) as an immediate. This new format will be able to be implemented in the
new parser as follow-on work.
Diffstat (limited to 'test/lit/ctor-eval')
-rw-r--r-- | test/lit/ctor-eval/multivalue-local.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/ctor-eval/multivalue-local.wast b/test/lit/ctor-eval/multivalue-local.wast index 0f35dbd61..e2c7e75c6 100644 --- a/test/lit/ctor-eval/multivalue-local.wast +++ b/test/lit/ctor-eval/multivalue-local.wast @@ -24,7 +24,7 @@ ) ) (local.set $1 - (tuple.make + (tuple.make 2 (local.get $0) ;; This will turn into 42. (i32.const 1000) ) |