diff options
| author | bors <bors@rust-lang.org> | 2020-09-29 19:25:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-29 19:25:10 +0000 |
| commit | 381b445ff5751f9f39ec672b623372dff09c276e (patch) | |
| tree | 5b6a16984d37853458ad3d9000df188dca01f238 /compiler/rustc_codegen_llvm/src | |
| parent | 9b77a6a20021cb8783111c04e9260963f15b550e (diff) | |
| parent | 063d5e9d8bdf9f0b26817265ca90e246bb20e379 (diff) | |
| download | rust-381b445ff5751f9f39ec672b623372dff09c276e.tar.gz rust-381b445ff5751f9f39ec672b623372dff09c276e.zip | |
Auto merge of #77274 - tmiasko:liveness-cnd, r=lcnr
Liveness refactoring continued * Move body_owner field from IrMaps to Liveness (the only user of the field). * Use upvars instead of FnKind to check for closures (avoids FnKind, will be useful when checking all bodies, not just fns). * Use visit_param to add variables corresponding to params. * Store upvars_mentioned inside Liveness struct. * Inline visitor implementation for IrMaps, avoiding unnecessary indirection. * Test interaction with automatically_derived attribute (not covered by any of existing tests). No functional changes intended.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
