YJIT: Remove unused variable [ci skip]
This commit is contained in:
parent
a9b6b25de5
commit
8938f146ab
@ -4836,7 +4836,7 @@ fn gen_push_frame(
|
|||||||
|
|
||||||
// For an iseq call PC may be None, in which case we will not set PC and will allow jitted code
|
// For an iseq call PC may be None, in which case we will not set PC and will allow jitted code
|
||||||
// to set it as necessary.
|
// to set it as necessary.
|
||||||
let _pc = if let Some(pc) = frame.pc {
|
if let Some(pc) = frame.pc {
|
||||||
asm.mov(cfp_opnd(RUBY_OFFSET_CFP_PC), pc.into());
|
asm.mov(cfp_opnd(RUBY_OFFSET_CFP_PC), pc.into());
|
||||||
};
|
};
|
||||||
asm.mov(cfp_opnd(RUBY_OFFSET_CFP_BP), sp);
|
asm.mov(cfp_opnd(RUBY_OFFSET_CFP_BP), sp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user