Skip to content

[vm] Don't create stack frames for leaf functions in AOT #40195

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

Closed
sjindel-google opened this issue Jan 16, 2020 · 1 comment
Closed

[vm] Don't create stack frames for leaf functions in AOT #40195

sjindel-google opened this issue Jan 16, 2020 · 1 comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. vm-aot-code-size Related to improvements in AOT code size

Comments

@sjindel-google
Copy link
Contributor

Many functions in AOT are leaf functions, in that they cannot call other functions or call into the runtime.

Performing frame setup for these functions is wasteful.

/cc @mkustermann @alexmarkov

@sjindel-google sjindel-google added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. vm-aot-code-size Related to improvements in AOT code size labels Jan 16, 2020
@mkustermann
Copy link
Member

Merging into #43208 which has a little more context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. vm-aot-code-size Related to improvements in AOT code size
Projects
None yet
Development

No branches or pull requests

2 participants