mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
This .into_iter() call is equivalent to .iter() and will not move the array.
This commit is contained in:
parent
fdc13563b8
commit
bb30434392
@ -4198,7 +4198,7 @@ impl FunctionCodeGenerator<CodegenError> for LLVMFunctionCodeGenerator {
|
|||||||
.into_vector_value();
|
.into_vector_value();
|
||||||
let mask = VectorType::const_vector(
|
let mask = VectorType::const_vector(
|
||||||
lanes
|
lanes
|
||||||
.into_iter()
|
.iter()
|
||||||
.map(|l| intrinsics.i32_ty.const_int((*l).into(), false))
|
.map(|l| intrinsics.i32_ty.const_int((*l).into(), false))
|
||||||
.collect::<Vec<IntValue>>()
|
.collect::<Vec<IntValue>>()
|
||||||
.as_slice(),
|
.as_slice(),
|
||||||
|
Loading…
Reference in New Issue
Block a user