review feedback
This commit is contained in:
parent
052651dd13
commit
ac265cdc19
11 changed files with 15 additions and 21 deletions
|
@ -709,7 +709,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
Operand::Indirect(MemPlace::from_ptr(ptr.into()))
|
||||
}
|
||||
ConstValue::Scalar(x) => Operand::Immediate(tag_scalar(x)?.into()),
|
||||
ConstValue::ZST => Operand::Immediate(Immediate::Uninit),
|
||||
ConstValue::Zst => Operand::Immediate(Immediate::Uninit),
|
||||
ConstValue::Slice { data, start, end } => {
|
||||
// We rely on mutability being set correctly in `data` to prevent writes
|
||||
// where none should happen.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue