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

Implement br_if and br_switch. #131

Closed
wants to merge 1 commit into from
Closed

Implement br_if and br_switch. #131

wants to merge 1 commit into from

Conversation

sunfishcode
Copy link
Member

This implements br_if and br_switch, essentially as was suggested in WebAssembly/design#299. This implements them as spec syntax sugar on top of the existing if and switch for now.

@sunfishcode
Copy link
Member Author

As with #403, I'm closing this for now.

@sunfishcode sunfishcode deleted the br_if branch October 13, 2015 21:04
eqrion pushed a commit to eqrion/wasm-spec that referenced this pull request Nov 25, 2019
* [interpreter] Simplify zero-len and drop semantics

* Update overview

* [spec] Change drop semantics

* [spec] Forgot to adjust prose for *.init ops

* [test] Update generated tests for OOBs and dropping changes (WebAssembly#131)
Connicpu pushed a commit to Connicpu/wasm-spec that referenced this pull request May 11, 2020
`*.atomic.wait` only waits if the loaded value is equal to the expected
value. So we can test some simple cases without threads by ensuring that
the loaded value doesn't match.

Similarly `atomic.notify` will do nothing if the count is 0.
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Mar 2, 2023
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.

1 participant