Skip to content

[EH] Make tag's attribute encoding detail - #3947

Merged
aheejin merged 3 commits into
WebAssembly:mainfrom
aheejin:remove_attr2
Jun 22, 2021
Merged

aheejin merged 3 commits into
WebAssembly:mainfrom
aheejin:remove_attr2

Conversation

@aheejin

@aheejin aheejin commented Jun 20, 2021

Copy link
Copy Markdown
Member

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).

@tlively tlively left a comment

Copy link
Copy Markdown
Member

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.

2 participants