Skip to content
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

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

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jun 26, 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 takikawa June 26, 2021 04:42
@takikawa takikawa mentioned this pull request Jun 29, 2021
@aheejin aheejin merged commit cdc1b45 into WebAssembly:main Jun 29, 2021
@aheejin aheejin deleted the attr_uint8 branch June 29, 2021 22:17
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.

3 participants