mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Instantiate dominators algorithm only once
Remove inline from BasicBlocks::dominators to instantiate the dominator algorithm only once - in the rustc_middle crate.
This commit is contained in:
parent
b22aa57fd5
commit
ae39ee23fe
@ -35,7 +35,6 @@ impl<'tcx> BasicBlocks<'tcx> {
|
||||
self.is_cyclic.is_cyclic(self)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn dominators(&self) -> Dominators<BasicBlock> {
|
||||
dominators(&self)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user