rust/compiler/stable_mir/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
..
mir Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
abi.rs Use generic NonZero. 2024-05-08 21:37:55 +02:00
compiler_interface.rs Add method to get all attributes on a definition 2024-06-28 13:24:41 +08:00
crate_def.rs Add method to get all attributes on a definition 2024-06-28 13:24:41 +08:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs Add a new trait to retrieve StableMir definition Ty 2024-06-12 17:47:49 -07:00
mir.rs Add support to global allocation to stable-mir 2023-11-21 19:16:53 -08:00
target.rs Update target.rs alloc.rs event.rs simd.rs 2024-03-20 17:07:15 +01:00
ty.rs Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00
visitor.rs Split smir Const into TyConst and MirConst 2024-06-04 10:14:45 +01:00