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

Tweak the way we protect in-place function arguments in interpreters #122076

Merged
merged 1 commit into from
Mar 8, 2024

Commits on Mar 8, 2024

  1. Tweak the way we protect in-place function arguments in interpreters

    Use `MPlaceTy` instead of `PlaceTy` in `FnArg` and ignore (copy) locals in an
    earlier step ("Locals that don't have their address taken are as protected as
    they can ever be").
    
    This seems to be crucial for tail call support (as they can't refer to caller's
    locals which are killed when replacing the stack frame).
    WaffleLapkin committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    a984322 View commit details
    Browse the repository at this point in the history