Skip to content

Commit ae39ee2

Browse files
committed
Instantiate dominators algorithm only once
Remove inline from BasicBlocks::dominators to instantiate the dominator algorithm only once - in the rustc_middle crate.
1 parent b22aa57 commit ae39ee2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_middle/src/mir/basic_blocks.rs

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ impl<'tcx> BasicBlocks<'tcx> {
3535
self.is_cyclic.is_cyclic(self)
3636
}
3737

38-
#[inline]
3938
pub fn dominators(&self) -> Dominators<BasicBlock> {
4039
dominators(&self)
4140
}

0 commit comments

Comments
 (0)