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

Implement ABI stuff for -preview=in #3578

Merged
merged 1 commit into from
Jan 8, 2021
Merged

Commits on Jan 8, 2021

  1. Implement ABI stuff for -preview=in

    I.e., the ABI-specific decision for which parameter types to prefer
    passing a ref over a value.
    
    The x86_64 and AArch64 ABIs are pretty clear - use a ref if the POD type
    cannot be passed in registers. For all others, use a simple default
    heuristic based on the type size - if larger than 2 machine words, use a
    ref. Note that this includes x87 `real` for the 32-bit x86 ABI.
    kinke committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    b942c50 View commit details
    Browse the repository at this point in the history