Fix alignment flag for emit_small_memory_copy
Do not unconditionally pass the "aligned" MemFlag when calling emit_small_memory_copy. Instead, allow the back end to rely on the alignment info passed separately to this routine.
This commit is contained in:
parent
fa6480e43d
commit
aca05cf603
@ -614,7 +614,7 @@ impl<'tcx> CPlace<'tcx> {
|
|||||||
dst_align,
|
dst_align,
|
||||||
src_align,
|
src_align,
|
||||||
true,
|
true,
|
||||||
MemFlags::trusted(),
|
flags,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
CValueInner::ByRef(_, Some(_)) => todo!(),
|
CValueInner::ByRef(_, Some(_)) => todo!(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user