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

Editorial: Cursory review of JSPI spec. #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjrd
Copy link

@sjrd sjrd commented Nov 11, 2024

No description provided.

@@ -1436,7 +1436,7 @@ interface Suspending {
1. Assert: |map| does not contain any entry for |ec|.
1. Add an entry mapping |ec| to [=active=] in |map|.
1. Let (|store|, |result|) be the result of [=func_invoke=](|store|, |funcaddr|, |args|).
1. Assert: If control reaches here, we have done waiting for suspended imports.
1. Assert: If control reaches here, we are done waiting for suspended imports.
Copy link
Author

Choose a reason for hiding this comment

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

Not sure about this one.

@@ -1445,12 +1445,12 @@ interface Suspending {
1. Otherwise,
1. Assert: |result| is a [=list=] of WebAssembly values.
1. Let |outArity| be the [=list/size=] of |result|.
1. If |outArity| is 0, return undefined.
1. If |outArity| is 0, let |jsReturnValue| be undefined.
Copy link
Author

Choose a reason for hiding this comment

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

Should we factor out this section with the same spec steps found in "call an Exported Function"?

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