Replace todos with impls

Changed to various implementations, copying the style of prior function calls in places I was
unsure of.

Also one minor style nit.
This commit is contained in:
kadmin
2021-01-23 00:23:13 +00:00
parent 982382dc03
commit 049045b100
4 changed files with 45 additions and 10 deletions

View File

@@ -126,8 +126,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
let count = count_val.immediate_or_packed_pair(&mut bx);
let dst = dst_val.immediate_or_packed_pair(&mut bx);
let src = src_val.immediate_or_packed_pair(&mut bx);
use crate::MemFlags;
let flags = MemFlags::empty();
let flags = crate::MemFlags::empty();
bx.memcpy(
dst,
dst_val.layout.layout.align.pref,