Skip to content

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

Merged
aheejin merged 1 commit into
WebAssembly:mainfrom
aheejin:attr_uint8
Jun 29, 2021
Merged

aheejin merged 1 commit into
WebAssembly:mainfrom
aheejin:attr_uint8

Conversation

@aheejin

@aheejin aheejin commented Jun 26, 2021

Copy link
Copy Markdown
Member

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