]> git.lizzy.rs Git - rust.git/commit
emit StorageLive for box temporaries
authorAriel Ben-Yehuda <ariel.byd@gmail.com>
Mon, 14 Aug 2017 11:10:05 +0000 (14:10 +0300)
committerAriel Ben-Yehuda <ariel.byd@gmail.com>
Mon, 14 Aug 2017 11:10:05 +0000 (14:10 +0300)
commite3495b2cfa2dab62cfa189210a97f4235e73e865
tree0b9fca7ddf93b58444eb2f8ddf53406e5a909a07
parentadbce60d6f131e5b3789f01417dedb05e4489898
emit StorageLive for box temporaries

We started emitting StorageDead, so we better emit the corrseponding
StorageLive to avoid problems.
src/librustc_mir/build/expr/as_rvalue.rs
src/test/mir-opt/box_expr.rs [new file with mode: 0644]