]> git.lizzy.rs Git - rust.git/commit
Auto merge of #41148 - arielb1:dead-unwind, r=nagisa
authorbors <bors@rust-lang.org>
Sat, 8 Apr 2017 19:47:31 +0000 (19:47 +0000)
committerbors <bors@rust-lang.org>
Sat, 8 Apr 2017 19:47:31 +0000 (19:47 +0000)
commit666e7148d167de551a7c3692caf9966f49773f4c
tree2df5250357bfa4400c6713ca6e106a93b431ac6b
parenta61011761deeab9e308e6d103b1dc7aaf334f6e3
parent69797986879f12db067f5cd8fb89c193548b04f5
Auto merge of #41148 - arielb1:dead-unwind, r=nagisa

borrowck::mir::dataflow: ignore unwind edges of empty drops

This avoids creating drop flags in many unnecessary situations.

Fixes #41110.

r? @nagisa

beta-nominating because regression. However, that is merely a small perf regression and codegen changes are always risky, so we might let this slide for 1.17.