diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-04-29 10:23:17 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-04-29 17:26:46 -0400 |
| commit | a1d73674294385b53ea4b74c041a6fe9b441b2ae (patch) | |
| tree | ca191ac728630a52e726bb9d3691e093ce295c71 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | c488f15700f15664b3bbda742c3f53f2b7a508d9 (diff) | |
| download | rust-a1d73674294385b53ea4b74c041a6fe9b441b2ae.tar.gz rust-a1d73674294385b53ea4b74c041a6fe9b441b2ae.zip | |
Move iter_results to dyn FnMut rather than a generic
This means that we're no longer generating the iteration/locking code for each invocation site of iter_results, rather just once per query. This is a 15% win in instruction counts when compiling the rustc_query_impl crate.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
