]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #99028 - tmiasko:inline, r=estebank
authorbors <bors@rust-lang.org>
Sat, 9 Jul 2022 04:34:51 +0000 (04:34 +0000)
committerbors <bors@rust-lang.org>
Sat, 9 Jul 2022 04:34:51 +0000 (04:34 +0000)
Miscellaneous inlining improvements

Add `#[inline]` to a few trivial non-generic methods from a perf report
that otherwise wouldn't be candidates for inlining.

1  2 
compiler/rustc_middle/src/ty/sty.rs
compiler/rustc_middle/src/ty/util.rs
compiler/rustc_query_system/src/dep_graph/graph.rs

Simple merge
Simple merge