]> git.lizzy.rs Git - rust.git/commit
A way to remove otherwise unused locals from MIR
authorSimonas Kazlauskas <git@kazlauskas.me>
Tue, 16 Aug 2016 01:59:50 +0000 (04:59 +0300)
committerSimonas Kazlauskas <git@kazlauskas.me>
Thu, 3 Nov 2016 04:17:01 +0000 (06:17 +0200)
commit475236770fe4fd973957d734a074a54c5ac88c87
tree110a1096282587cf9576177ad9f52aa67562d0ef
parentf5a702dc785760c74960007af389caa47546fa58
A way to remove otherwise unused locals from MIR

Replaces the hack where a similar thing is done within trans.
src/librustc/mir/visit.rs
src/librustc_data_structures/indexed_vec.rs
src/librustc_driver/driver.rs
src/librustc_mir/transform/mod.rs
src/librustc_mir/transform/simplify.rs [new file with mode: 0644]
src/librustc_mir/transform/simplify_cfg.rs [deleted file]
src/librustc_trans/mir/analyze.rs