Inline 2 functions that appear in dep-graph profiles.

This commit is contained in:
Camille GILLOT 2024-01-14 12:57:13 +00:00
parent 284cb714d2
commit c6f83b8ff6
2 changed files with 2 additions and 0 deletions

View file

@ -169,6 +169,7 @@ impl EdgeHeader {
}
}
#[inline]
fn mask(bits: usize) -> usize {
usize::MAX >> ((std::mem::size_of::<usize>() * 8) - bits)
}