forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix validation of
catch
/catch_all
with try
params
This commit fixes an accidental regression from bytecodealliance#697 in the refactoring I added at the end where manual modification of `self.control` was replaced with `self.push_ctrl`. For the exceptions proposal specifically this is not valid since the `block_type` for the frame doesn't get the parameters pushed when the `catch` and `catch_all` instructions are encountered.
- Loading branch information
1 parent
63f8ab3
commit 9e6c4f1
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters