diff options
-rw-r--r-- | yjit/src/backend/x86_64/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/backend/x86_64/mod.rs b/yjit/src/backend/x86_64/mod.rs index cb9d5be74a..0001d45977 100644 --- a/yjit/src/backend/x86_64/mod.rs +++ b/yjit/src/backend/x86_64/mod.rs @@ -262,7 +262,7 @@ impl Assembler Op::LeaLabel => { let label_idx = insn.target.unwrap().unwrap_label_idx(); - cb.label_ref(label_idx, 4, |cb, src_addr, dst_addr| { + cb.label_ref(label_idx, 7, |cb, src_addr, dst_addr| { let disp = dst_addr - src_addr; lea(cb, Self::SCRATCH0, mem_opnd(8, RIP, disp.try_into().unwrap())); }); @@ -270,7 +270,7 @@ impl Assembler mov(cb, insn.out.into(), Self::SCRATCH0); }, - // Push and pop to the C stack + // Push and pop to/from the C stack Op::CPush => push(cb, insn.opnds[0].into()), Op::CPop => pop(cb, insn.out.into()), Op::CPopInto => pop(cb, insn.opnds[0].into()), |