Move dominators
from Body to BasicBlocks
This commit is contained in:
parent
dfa6a7cbde
commit
17adfeb2b4
5 changed files with 10 additions and 9 deletions
|
@ -15,7 +15,7 @@ pub fn non_ssa_locals<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
|
|||
fx: &FunctionCx<'a, 'tcx, Bx>,
|
||||
) -> BitSet<mir::Local> {
|
||||
let mir = fx.mir;
|
||||
let dominators = mir.dominators();
|
||||
let dominators = mir.basic_blocks.dominators();
|
||||
let locals = mir
|
||||
.local_decls
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue