clarify MIR uninit vs LLVM undef/poison
This commit is contained in:
parent
77e24f90f5
commit
41a73d8251
2 changed files with 7 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue