Skip to content

Remove extra-unreachable.wast #3480

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

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jan 11, 2021

This test seems to be added in #2266 to test custom unreachable
generation in BinaryenIRWriter, but given that the fromBinary files
only contain a single unreachable for the whole function, I don't
think this test serves a lot of purpose. Also the custom unreachable
generation logic in #2266 was largely replaced in #3110.

This test seems to be added in WebAssembly#2266 to test custom unreachable
generation in `BinaryenIRWriter`, but given that the `fromBinary` files
only contain a single `unreaachable` for the whole function, I don't
think this test serves a lot of purpose. Also the custom unreachable
generation logic in WebAssembly#2266 was largely replaced in WebAssembly#3110.
@aheejin aheejin requested review from kripken and tlively January 11, 2021 03:07
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm. We test unreachable emitting in other places, and there seems to be no specific benefit to this particular test, for the reasons you mention.

@aheejin aheejin merged commit 46f0229 into WebAssembly:master Jan 12, 2021
@aheejin aheejin deleted the remove_unreachable_test branch January 12, 2021 00:47
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