Skip to content

Conversation

CHRChhak
Copy link

@CHRChhak CHRChhak commented Aug 16, 2025

Prior to this PR, semantics of Blocks (& Loop) expected block types to be function types (:= valtype list # valtype list). For example, the semantics checked to make sure the stack had enough "arguments" (given by the function type) to the block.
However, in Wasm 1, block instructions have result types (:= valtype option).

This PR suggests simplifications in line with that (vs function type)

PR-d this as don't want to change the semantics without everyone being aware

@CHRChhak CHRChhak requested review from myreen and wildptr August 16, 2025 23:57
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