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: Avoid query cycles when optimizing generators #76245

Merged
merged 1 commit into from
Sep 3, 2020

Commits on Sep 2, 2020

  1. inliner: Avoid query cycles when optimizing generators

    The HIR Id trick is insufficient to prevent query cycles when optimizing
    generators, since merely requesting a layout of a generator also
    computes its `optimized_mir`.
    
    Make no attempts to inline functions into generators within the same
    crate to avoid query cycles.
    tmiasko committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    6c51ec9 View commit details
    Browse the repository at this point in the history