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

Make attribute's encoding uint8 #162

Merged
merged 1 commit into from
Jun 22, 2021
Merged

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jun 18, 2021

This changes the encoding of the attribute field, which is preserved
for future use, from varuint32 to uint8. uint8 is simpler to
encode/decode and this attribute is not likely to need varuint32 range
even in future.

Suggested in
#161 (comment).

This changes the encoding of the `attribute` field, which is preserved
for future use, from `varuint32` to `uint8`. `uint8` is simpler to
encode/decode and this attribute is not likely to need `varuint32` range
even in future.

Suggested in
WebAssembly#161 (comment).
@aheejin aheejin changed the title Make attribute encoding uint8 Make attribute's encoding uint8 Jun 18, 2021
aheejin added a commit to llvm/llvm-project that referenced this pull request 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`.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D104571
aheejin added a commit to aheejin/binaryen that referenced this pull request 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`.
@aheejin aheejin merged commit 0c0adbe into WebAssembly:master Jun 22, 2021
@aheejin aheejin deleted the attr_uint8 branch June 22, 2021 10:03
aheejin added a commit to WebAssembly/binaryen that referenced this pull request 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`.
@aheejin aheejin mentioned this pull request Jun 22, 2021
aheejin added a commit to aheejin/wabt that referenced this pull request 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`.
aheejin added a commit to WebAssembly/wabt that referenced this pull request Jun 29, 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`.
takikawa added a commit to takikawa/wasm-tools that referenced this pull request Aug 21, 2021
alexcrichton pushed a commit to bytecodealliance/wasm-tools that referenced this pull request Aug 21, 2021
arichardson pushed a commit to arichardson/llvm-project that referenced this pull request Sep 13, 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`.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D104571
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