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

inliner: Use substs_for_mir_body #78674

Merged
merged 1 commit into from
Nov 9, 2020

Commits on Nov 6, 2020

  1. inliner: Use substs_for_mir_body

    Changes from 68965 extended the kind of instances that are being
    inlined. For some of those, the `instance_mir` returns a MIR body that
    is already expressed in terms of the types found in substitution array,
    and doesn't need further substitution.
    
    Use `substs_for_mir_body` to take that into account.
    tmiasko committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    8a8ee1a View commit details
    Browse the repository at this point in the history