From c6f83b8ff6b4e0fa98713b720ff48d67efe8d932 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Sun, 14 Jan 2024 12:57:13 +0000 Subject: Inline 2 functions that appear in dep-graph profiles. --- compiler/rustc_query_system/src/dep_graph/serialized.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_query_system') diff --git a/compiler/rustc_query_system/src/dep_graph/serialized.rs b/compiler/rustc_query_system/src/dep_graph/serialized.rs index 504763f6cdb..f6f6aa07cb3 100644 --- a/compiler/rustc_query_system/src/dep_graph/serialized.rs +++ b/compiler/rustc_query_system/src/dep_graph/serialized.rs @@ -169,6 +169,7 @@ impl EdgeHeader { } } +#[inline] fn mask(bits: usize) -> usize { usize::MAX >> ((std::mem::size_of::() * 8) - bits) } -- cgit 1.4.1-3-g733a5