diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2019-10-18 13:48:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-18 13:48:11 -0700 |
| commit | d2bea3c95dc15d7ffb6c0ad650097ae5498b7c14 (patch) | |
| tree | 3380f39202e30995799897d3c4ede11e7c1150cc /src/rustllvm/RustWrapper.cpp | |
| parent | 7167a592414875bfa01e9e37ff2b905086a2761a (diff) | |
| parent | 48349960e68a9d19b17ac54cd12e939a9a46ea7d (diff) | |
| download | rust-d2bea3c95dc15d7ffb6c0ad650097ae5498b7c14.tar.gz rust-d2bea3c95dc15d7ffb6c0ad650097ae5498b7c14.zip | |
Rollup merge of #65197 - spastorino:place-mut-visitor-adjusts2, r=oli-obk
Prepare `MutVisitor`s to handle interned projections The following are all the files where mir's `MutVisitor` is implemented. The `-` there stands for no changes, `visit_place` wasn't making any change on `Place`s. `x` stands for this file was changed to make `visit_place` do whatever it was doing with the base but avoid modifying the projection, instead just create a new one and assign to it. ``` [-] src/librustc_mir/transform/no_landing_pads.rs [x] src/librustc_mir/transform/promote_consts.rs [x] src/librustc_mir/transform/generator.rs [x] src/librustc_mir/transform/erase_regions.rs [-] src/librustc_mir/transform/instcombine.rs [x] src/librustc_mir/transform/inline.rs [x] src/librustc_mir/transform/simplify.rs [x] src/librustc_mir/util/def_use.rs [-] src/librustc_mir/transform/const_prop.rs [-] src/librustc_mir/transform/cleanup_post_borrowck.rs [x] src/librustc_mir/borrow_check/nll/renumber.rs [-] src/librustc_mir/transform/copy_prop.rs ``` There is some code repetition, just created the PR so we can start discussing it. /cc @oli-obk @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
