Remove type argument of array_alloca and rename to byte_array_alloca
This commit is contained in:
parent
0fe84bc38b
commit
268e02c387
4 changed files with 6 additions and 5 deletions
|
@ -352,7 +352,7 @@ impl<'a, 'tcx, V: CodegenObject> OperandValue<V> {
|
|||
|
||||
// Allocate an appropriate region on the stack, and copy the value into it
|
||||
let (llsize, _) = glue::size_and_align_of_dst(bx, unsized_ty, Some(llextra));
|
||||
let lldst = bx.array_alloca(bx.cx().type_i8(), llsize, max_align);
|
||||
let lldst = bx.byte_array_alloca(llsize, max_align);
|
||||
bx.memcpy(lldst, max_align, llptr, min_align, llsize, flags);
|
||||
|
||||
// Store the allocated region and the extra to the indirect place.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue