rust/compiler/stable_mir/src
Guillaume Gomez be1d42776d
Rollup merge of #126410 - RalfJung:smir-const-operand, r=oli-obk
smir: merge identical Constant and ConstOperand types

The first commit renames the const operand visitor functions on regular MIR to match the type name, that was forgotten in the original rename.

The second commit changes stable MIR, fixing https://github.com/rust-lang/project-stable-mir/issues/71. Previously there were two different smir types for the MIR type `ConstOperand`, one used in `Operand` and one in `VarDebugInfoContents`.

Maybe we should have done this with https://github.com/rust-lang/rust/pull/125967, so there's only a single breaking change... but I saw that PR too late.

Fixes https://github.com/rust-lang/project-stable-mir/issues/71
2024-06-15 19:51:35 +02:00
..
mir smir: merge identical Constant and ConstOperand types 2024-06-13 16:11:40 +02:00
abi.rs Use generic NonZero. 2024-05-08 21:37:55 +02:00
compiler_interface.rs Unify intrinsics body handling in StableMIR 2024-06-12 16:01:38 -07:00
crate_def.rs Add a new trait to retrieve StableMir definition Ty 2024-06-12 17:47:49 -07: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 Rollup merge of #126361 - celinval:issue-0079-intrinsic, r=oli-obk 2024-06-15 14:40:48 +02:00
visitor.rs Split smir Const into TyConst and MirConst 2024-06-04 10:14:45 +01:00