1
Fork 0

clarify MIR uninit vs LLVM undef/poison

This commit is contained in:
Ralf Jung 2023-07-20 18:40:15 +02:00
parent 77e24f90f5
commit 41a73d8251
2 changed files with 7 additions and 1 deletions

View file

@ -31,7 +31,7 @@ pub enum Immediate<Prov: Provenance = AllocId> {
/// A pair of two scalar value (must have `ScalarPair` ABI where both fields are
/// `Scalar::Initialized`).
ScalarPair(Scalar<Prov>, Scalar<Prov>),
/// A value of fully uninitialized memory. Can have and size and layout.
/// A value of fully uninitialized memory. Can have arbitrary size and layout.
Uninit,
}