1
Fork 0
rust/compiler/rustc_codegen_ssa/src
Yuri Astrakhan aef0e346de Avoid ref when using format! in compiler
Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing).  Inlining format args prevents accidental `&` misuse.
2024-07-19 14:52:07 -04:00
..
back Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
debuginfo Add Ty to ConstKind::Value 2024-06-05 22:25:41 +01:00
mir valtree construction: keep track of which type was valtree-incompatible 2024-07-18 11:58:16 +02:00
traits Fix doc comment 2024-06-21 19:30:26 +00:00
assert_module_sources.rs Remove #[macro_use] extern crate tracing from rustc_codegen_ssa. 2024-05-23 18:02:40 +10:00
base.rs Fix spans 2024-07-02 15:48:48 -04:00
codegen_attrs.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
common.rs ScalarInt: size mismatches are a bug, do not delay the panic 2024-06-10 13:43:16 +02:00
errors.rs coverage: Tighten validation of #[coverage(off)] and #[coverage(on)] 2024-06-24 20:15:01 +10:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
meth.rs Move vcall_visibility_metadata optimization hint out of a debuginfo generation method 2024-06-21 19:26:06 +00:00
mono_item.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
size_of_val.rs Remove #[macro_use] extern crate tracing from rustc_codegen_ssa. 2024-05-23 18:02:40 +10:00
target_features.rs Added the xop target feature and xop_target_feature gate 2024-07-12 23:30:22 +05:30