ZJIT: Make opnd!() work on both &InsnId and InsnId

This commit is contained in:
Alan Wu 2025-07-22 19:11:18 -04:00
parent a04555c8ab
commit 3f893539ad

View file

@ -314,7 +314,7 @@ fn gen_insn(cb: &mut CodeBlock, jit: &mut JITState, asm: &mut Assembler, functio
// Convert InsnId to lir::Opnd
macro_rules! opnd {
($insn_id:ident) => {
jit.get_opnd(*$insn_id)?
jit.get_opnd($insn_id.clone())?
};
}