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

factor restart code out (if tail calls are available) #50

Open
gerdstolpmann opened this issue Mar 28, 2023 · 0 comments
Open

factor restart code out (if tail calls are available) #50

gerdstolpmann opened this issue Mar 28, 2023 · 0 comments

Comments

@gerdstolpmann
Copy link
Collaborator

If Wasm tail calls are available, we can factor out the RESTART code into a separate function that finally does a return_call to the function for the non-restart case.

Also, the code pointer shifting is no longer needed (saves some instructions).

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

No branches or pull requests

1 participant