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

Fix checking of delegate target block kind. #1605

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

takikawa
Copy link
Contributor

This PR fixes an issue with the validation of the delegate exception instruction: it was failing to check that the delegate target block was a valid kind of block. It should now follow the clarified behavior of delegate from this issue: WebAssembly/exception-handling#146

As clarified in:

  WebAssembly/exception-handling#146

the delegate target cannot be a `block` or `loop`. This commit
also adds a failure test that covers several cases discussed
in that issue.
@binji binji merged commit 8d9f5ac into WebAssembly:master Feb 24, 2021
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