Add #[cold] tags.

This commit is contained in:
Stephen Chung
2022-09-13 22:54:13 +08:00
parent 2458e05dcb
commit 396ec7df8a
8 changed files with 43 additions and 17 deletions

View File

@@ -79,7 +79,6 @@ impl Caches<'_> {
self.stack.last_mut().unwrap()
}
/// Push an empty function resolution cache onto the stack and make it current.
#[allow(dead_code)]
#[inline(always)]
pub fn push_fn_resolution_cache(&mut self) {
self.stack.push(Default::default());