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 /CHANGELOG.md | |
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 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7185db7b8..7fc9847e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ full changeset diff at the end of each section. Current Trunk ------------- + - The `tuple.make` pseudoinstruction now requires an immediate giving its + arity. For example, to make a tuple of two elements, use `tuple.make 2`. v116 ---- |