Skip to content

[EH] Make tag attribute's encoding uint8 #3949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jun 22, 2021

This changes the encoding of the attribute field, which currently only
contains the value 0 denoting this tag is for an exception, from
varuint32 to uint8. This field is effectively unused at the moment
and reserved for future use, and it is not likely to need varuint32
even in future.
See WebAssembly/exception-handling#162.

This does not change any encoded binaries because 0 is encoded in the
same way both in varuint32 and uint8.

This changes the encoding of the `attribute` field, which currently only
contains the value `0` denoting this tag is for an exception, from
`varuint32` to `uint8`. This field is effectively unused at the moment
and reserved for future use, and it is not likely to need `varuint32`
even in future.
See WebAssembly/exception-handling#162.

This does not change any encoded binaries because `0` is encoded in the
same way both in `varuint32` and `uint8`.
@aheejin aheejin requested a review from tlively June 22, 2021 04:25
@aheejin aheejin merged commit 21711ff into WebAssembly:main Jun 22, 2021
@aheejin aheejin deleted the attr_uint8 branch June 22, 2021 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants