We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b1dd30 commit 83d7222Copy full SHA for 83d7222
zjit/src/backend/lir.rs
@@ -2225,6 +2225,11 @@ impl Assembler
2225
fn compile_exit(asm: &mut Assembler, exit: &SideExit) {
2226
let SideExit { pc, stack, locals } = exit;
2227
2228
+ // Side exit blocks are not part of the CFG at the moment,
2229
+ // so we need to manually ensure that patchpoints get padded
2230
+ // so that nobody stomps on us
2231
+ asm.pad_patch_point();
2232
+
2233
asm_comment!(asm, "save cfp->pc");
2234
asm.store(Opnd::mem(64, CFP, RUBY_OFFSET_CFP_PC), *pc);
2235
0 commit comments