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

[aot] call_indirect optimization #540

Closed
andreaTP opened this issue Sep 25, 2024 · 1 comment
Closed

[aot] call_indirect optimization #540

andreaTP opened this issue Sep 25, 2024 · 1 comment

Comments

@andreaTP
Copy link
Collaborator

As noted here, currently a call_indirect is compiled by the AOT to a trampoline method that leverage the public Machine.call function.
To do so, boxing to and from long[], is happening on both sides.

It should be possible to directly emit the final function invocation code inline or stored and accessible through a Map effectively removing the need for this code generation when using the compiled class file without AotMachine.

@andreaTP
Copy link
Collaborator Author

andreaTP commented Oct 4, 2024

Fixed in #555 thanks to @electrum 🙏

@andreaTP andreaTP closed this as completed Oct 4, 2024
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