Skip to content

Commit 98af475

Browse files
committed
ZJIT: Split CPush to support pushing immediates
1 parent 2c9e875 commit 98af475

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

zjit/src/backend/arm64/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,10 @@ impl Assembler
675675
*opnd = opnd0;
676676
asm.push_insn(insn);
677677
},
678+
Insn::CPush(opnd) => {
679+
let opnd = split_load_operand(asm, *opnd);
680+
asm.push_insn(Insn::CPush(opnd));
681+
}
678682
Insn::Store { dest, src } => {
679683
// The value being stored must be in a register, so if it's
680684
// not already one we'll load it first.

0 commit comments

Comments
 (0)