Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Simplify exception dispatch to branches #71

Merged
merged 2 commits into from
Dec 3, 2018

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Dec 1, 2018

This proposes to use the idea suggested by #58 on using br_on_exn instead of if_except.

This proposes to use the idea suggested by WebAssembly#58 on using `br_on_exn`
instead of `if_except`.
else
Instruction*
```
block $l (result i32 i64)
Copy link
Member Author

Choose a reason for hiding this comment

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

Even though #58 suggested the multi-value proposal is a prerequisite for this and this example also uses a multi-value return block, the multi-value proposal is not necessarily a prerequisite for this exception handling proposal; we can do with a single value yielding blocks until the multi value proposal arrives.

Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

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

Looks good modulo some wording tweaks.

@aheejin aheejin merged commit 3c7f11a into WebAssembly:master Dec 3, 2018
@aheejin aheejin deleted the br_on_exn branch December 3, 2018 23:51
@mstarzinger
Copy link

Looks good. Thanks!

ioannad pushed a commit to ioannad/exception-handling that referenced this pull request Jun 6, 2020
* Refactor type in passive segments

* Make tests more specific
ioannad pushed a commit to ioannad/exception-handling that referenced this pull request Feb 23, 2021
This proposes to use the idea suggested by WebAssembly#58 on using `br_on_exn`
instead of `if_except`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants