tweak names and output and bless

This commit is contained in:
Ralf Jung 2022-07-06 10:14:46 -04:00
parent ac265cdc19
commit 4e7aaf1f44
124 changed files with 241 additions and 231 deletions

View file

@ -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::ZeroSized => 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.