diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-09-02 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-09-02 00:00:00 +0000 |
| commit | 6c51ec96bb5b6679645be1651d4ff1d079412af6 (patch) | |
| tree | f04fe743f48b8cec385963f9ee15e7ecdab2634c /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | da897dfb6daa268a965d2d73620316ba56020a19 (diff) | |
| download | rust-6c51ec96bb5b6679645be1651d4ff1d079412af6.tar.gz rust-6c51ec96bb5b6679645be1651d4ff1d079412af6.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
