Skip to content

Commit 24df1af

Browse files
committed
.
1 parent df0b083 commit 24df1af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ fn gen_insn(cb: &mut CodeBlock, jit: &mut JITState, asm: &mut Assembler, functio
675675
&Insn::DupArrayInclude { ary, target, state } => gen_dup_array_include(jit, asm, ary, opnd!(target), &function.frame_state(state)),
676676
Insn::ArrayHash { elements, state } => gen_opt_newarray_hash(jit, asm, opnds!(elements), &function.frame_state(*state)),
677677
&Insn::IsA { val, class } => gen_is_a(jit, asm, opnd!(val), opnd!(class)),
678-
Insn::ArrayMax { elements, state } => gen_array_max(jit, asm, opnds!(elements), &function.frame_state(*state)),
678+
&Insn::ArrayMax { ref elements, state } => gen_array_max(jit, asm, opnds!(elements), &function.frame_state(state)),
679679
&Insn::Throw { state, .. } => return Err(state),
680680
&Insn::IfFalse { .. } | Insn::IfTrue { .. }
681681
| &Insn::Jump { .. } | Insn::Entries { .. } => unreachable!(),

0 commit comments

Comments
 (0)