Skip to content

Conversation

@sjrd
Copy link

@sjrd sjrd commented Nov 11, 2024

No description provided.

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.

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