rust/compiler/rustc_mir_build/src
bors 11f838d64a Auto merge of #81978 - tmiasko:head-ctor, r=Mark-Simulacrum
Inline hot part of PatStack::head_ctor

When building rustc with `-Codegen-units=1` this inline hint ensures
that obtaining already initialized head constructor does not involve
a function call overhead and reduces the instruction count in
match-stress-enum-check full benchmark from 11.9G to 9.8G.

It shouldn't have significant impact on the currently default
configuration where it reflects existing inlining decisions.
2021-02-22 21:45:50 +00:00
..
build Run x.py fmt to fix tidy issues 2021-02-05 06:35:32 -05:00
thir Auto merge of #81978 - tmiasko:head-ctor, r=Mark-Simulacrum 2021-02-22 21:45:50 +00:00
lib.rs Cache head constructor in PatStack 2020-10-27 00:46:32 +00:00
lints.rs Don't re-export std::ops::ControlFlow in the compiler. 2020-10-22 17:26:55 -07:00