mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
ZJIT: Make opnd!()
work on both &InsnId
and InsnId
This commit is contained in:
parent
a04555c8ab
commit
3f893539ad
1 changed files with 1 additions and 1 deletions
|
@ -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())?
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue