Skip to content

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

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

aheejin merged 1 commit into
WebAssembly:mainfrom
aheejin:attr_uint8

Conversation

@aheejin

@aheejin aheejin commented Jun 22, 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 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