mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +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();
|
||||
let mask = VectorType::const_vector(
|
||||
lanes
|
||||
.into_iter()
|
||||
.iter()
|
||||
.map(|l| intrinsics.i32_ty.const_int((*l).into(), false))
|
||||
.collect::<Vec<IntValue>>()
|
||||
.as_slice(),
|
||||
|
Loading…
Reference in New Issue
Block a user