Impl StatementKind::CopyNonOverlapping

This commit is contained in:
kadmin
2020-10-03 20:57:47 +00:00
parent 3a5d45f68c
commit 0fdc07e197
4 changed files with 57 additions and 2 deletions

View File

@@ -115,6 +115,21 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
self.codegen_coverage(&mut bx, coverage.clone());
bx
}
mir::StatementKind::CopyNonOverlapping(box mir::CopyNonOverlapping {
ref src,
ref dst,
ref size,
}) => {
bx.memcpy(
dst,
todo!(),
src,
todo!(),
size,
todo!(),
);
bx
}
mir::StatementKind::FakeRead(..)
| mir::StatementKind::Retag { .. }
| mir::StatementKind::AscribeUserType(..)