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's attribute encoding detail #3947

Merged
merged 3 commits into from
Jun 22, 2021

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jun 20, 2021

This removes attribute field from Tag class, making the reserved and
unused field known only to binary encoder and decoder. This also removes
the attribute parameter from makeTag and addTag methods in
wasm-builder.h, C API, and Binaryen JS API.

Suggested in
#3946 (review).

@aheejin aheejin requested review from dcodeIO and tlively June 20, 2021 08:23
@aheejin aheejin changed the title [EH] Make tag's attribute encoding detail [EH] Make tag's attribute encoding detail (NFC) Jun 20, 2021
@aheejin aheejin changed the title [EH] Make tag's attribute encoding detail (NFC) [EH] Make tag's attribute encoding detail Jun 20, 2021
This removes `attribute` field from `Tag` class, making the reserved and
unused field known only to binary encoder and decoder. This also removes
the `attribute` parameter from `makeTag` and `addTag` methods in
wasm-builder.h, C API, and Binaryen JS API.

Suggested in
WebAssembly#3946 (review).
Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Thanks! I think this is a good simplification.

@aheejin aheejin merged commit e773dfd into WebAssembly:main Jun 22, 2021
@aheejin aheejin deleted the remove_attr2 branch June 22, 2021 04:24
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.

None yet

2 participants