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

Update resume table syntax #123

Merged
merged 3 commits into from
Aug 2, 2024
Merged

Update resume table syntax #123

merged 3 commits into from
Aug 2, 2024

Conversation

dhil
Copy link
Member

@dhil dhil commented Aug 2, 2024

This patch changes the syntax of resume tables to match that of the reference interpreter, i.e.

resume $ct (tag $t $h)* => resume $ct (on $t $h)*
resume_throw $ct $e (tag $t $h)* => resume $ct $e (on $t $h)*

I have also updated the testsuite (by simply copying in the cont.wast from the reference interpreter). In doing so, I stumbled upon a bug in the wellformedness check for continuation types for which I have also included a fix.

@dhil dhil merged commit a733664 into wasmfx:main Aug 2, 2024
28 checks passed
@dhil dhil deleted the wasmfx-resumetable branch August 2, 2024 07:46
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