Merge DominatorTree and Dominators.
This commit is contained in:
parent
4bbdb64016
commit
fa8598cb50
6 changed files with 40 additions and 61 deletions
|
@ -155,7 +155,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
|
|||
if self.unwind_edge_count <= 1 {
|
||||
return;
|
||||
}
|
||||
let dom_tree = self.body.basic_blocks.dominator_tree();
|
||||
let dom_tree = self.body.basic_blocks.dominators();
|
||||
let mut post_contract_node = FxHashMap::default();
|
||||
// Reusing the allocation across invocations of the closure
|
||||
let mut dom_path = vec![];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue