Skip to content

Commit d08ebcf

Browse files
committed
ZJIT: Fix unused variable warnings
1 parent 3a1832b commit d08ebcf

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
@@ -727,7 +727,7 @@ fn gen_insn(cb: &mut CodeBlock, jit: &mut JITState, asm: &mut Assembler, functio
727727
// We can't lower to `gen_send_without_block` because the
728728
// source opcode isn't necessarily `opt_send_without_block`
729729
// and so the interpreter stack layout may be incompatible.
730-
Insn::CCallWithFrame { cd, state, args, block, .. } if args.len() + 1 > C_ARG_OPNDS.len() => return Err(*state),
730+
Insn::CCallWithFrame { state, args, .. } if args.len() + 1 > C_ARG_OPNDS.len() => return Err(*state),
731731
Insn::CCallWithFrame { cfunc, recv, name, args, cme, state, block, .. } =>
732732
gen_ccall_with_frame(jit, asm, *cfunc, *name, opnd!(recv), opnds!(args), *cme, *block, &function.frame_state(*state)),
733733
Insn::CCallVariadic { cfunc, recv, name, args, cme, state, block, return_type: _, elidable: _ } => {

0 commit comments

Comments
 (0)