1
Fork 0

Auto merge of #119459 - cjgillot:inline-mir-utils, r=compiler-errors

Inline a few utility functions around MIR

Most of them are small enough to benefit from inlining.
This commit is contained in:
bors 2024-01-06 04:01:09 +00:00
commit d62f05b842
4 changed files with 24 additions and 0 deletions

View file

@ -94,6 +94,7 @@ impl SsaLocals {
self.direct_uses[local]
}
#[inline]
pub fn assignment_dominates(
&self,
dominators: &Dominators<BasicBlock>,