Move dominators from Body to BasicBlocks
This commit is contained in:
@@ -26,7 +26,7 @@ pub(super) fn generate_invalidates<'tcx>(
|
||||
|
||||
if let Some(all_facts) = all_facts {
|
||||
let _prof_timer = tcx.prof.generic_activity("polonius_fact_generation");
|
||||
let dominators = body.dominators();
|
||||
let dominators = body.basic_blocks.dominators();
|
||||
let mut ig = InvalidationGenerator {
|
||||
all_facts,
|
||||
borrow_set,
|
||||
|
||||
Reference in New Issue
Block a user