Miscellaneous inlining improvements
Add `#[inline]` to a few trivial non-generic methods from a perf report that otherwise wouldn't be candidates for inlining.
This commit is contained in:
@@ -1126,6 +1126,7 @@ impl<'tcx> TypeVisitable<'tcx> for ty::Predicate<'tcx> {
|
||||
self.outer_exclusive_binder() > binder
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn has_type_flags(&self, flags: ty::TypeFlags) -> bool {
|
||||
self.flags().intersects(flags)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user