]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #43748 - RalfJung:mir-validate2, r=arielb1
authorbors <bors@rust-lang.org>
Fri, 11 Aug 2017 13:04:59 +0000 (13:04 +0000)
committerbors <bors@rust-lang.org>
Fri, 11 Aug 2017 13:04:59 +0000 (13:04 +0000)
AddValidation: handle Call terminators into blocks that have multiple incoming edges

The old code was just wrong: It would add validation on paths that don't even come from the call, and it would add multiple validations if multiple calls end return to the same block.

1  2 
src/librustc_driver/driver.rs

Simple merge