about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-30 03:56:33 +0000
committerbors <bors@rust-lang.org>2017-06-30 03:56:33 +0000
commita4c68c62f0f9e4187b0daa469335a7b03d02c699 (patch)
tree76c9c591ce64b5b74a6454ed8e02335a10f71a8d /src/rustllvm/PassWrapper.cpp
parent5eef7c79666f0d477ff7cc2587cd04c2da920faf (diff)
parent13cd022060316146474915664a9e019906a2c79a (diff)
downloadrust-a4c68c62f0f9e4187b0daa469335a7b03d02c699.tar.gz
rust-a4c68c62f0f9e4187b0daa469335a7b03d02c699.zip
Auto merge of #42924 - pnkfelix:mir-dataflow, r=arielb1
Shift mir-dataflow from `rustc_borrowck` to `rustc_mir` crate.

Shift mir-dataflow from `rustc_borrowck` to `rustc_mir` crate.

Turn `elaborate_drops` and `rustc_peek` implementations into MIR passes that also live in `rustc_mir` crate.

Rewire things so `rustc_driver` uses the `ElaborateDrops` from `rustc_mir` crate.

(This PR is another baby step for mir-borrowck; it is a piece of work that other people want to rebase their stuff on top of, namely developers who are doing other dataflow analyses on top of MIR.)

I have deliberately architected this PR in an attempt to minimize the number of actual code changes. The majority of the diff should be little more than changes to mod and use declarations, as well as a few visibility promotions to pub(crate) when a declaration was moved downward in the module hierarchy.

(I have no problem with other PR's that move declarations around to try to clean this up; my goal was to ensure that the diff here was as small as possible, to make the review nearly trivial.)
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions