-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
Add Wasm return_call demo #36288
Add Wasm return_call demo #36288
Conversation
Preview URLs (comment last updated: 2024-11-18 15:35:17) |
**`call`** calls a function, while **`call_indirect`** calls a function in a table. | ||
**`return_call`** and **`return_call_indirect`** are the tail-call versions of `call` and `call_indirect`, respectively. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate that this predates you, but what is a tail-call? We should say, if you know?
It would be good to have an example of using call_indirect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pepelsbey I've subedited to what I think is improved structure. I'd like an explanation of tail call ideally as per https://github.com/mdn/content/pull/36288/files#r1796238648
However if you don't want to do that because you consider it out of scope that is understandable - I'm approving so you have the choice to self merge.
@pepelsbey ^^^ |
Description
Motivation
Part of the Firefox 121 release notes task that got delayed due to the platform’s lack of support.
Additional details