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
aheejin merged 2 commits into
WebAssembly:masterfrom
aheejin:br_on_exn
Dec 3, 2018
Merged

aheejin merged 2 commits into
WebAssembly:masterfrom
aheejin:br_on_exn

Conversation

@aheejin

@aheejin aheejin commented Dec 1, 2018

Copy link
Copy Markdown
Member

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`.
Comment thread proposals/Exceptions.md
else
Instruction*
```
block $l (result i32 i64)

Copy link
Copy Markdown
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.

@rossberg rossberg 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.

Looks good modulo some wording tweaks.

Comment thread proposals/Exceptions.md Resolved
Comment thread proposals/Exceptions.md Resolved
Comment thread proposals/Exceptions.md Resolved
@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
Copy Markdown

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