We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf7aad commit f1422e4Copy full SHA for f1422e4
yjit/src/codegen.rs
@@ -5226,12 +5226,13 @@ fn gen_push_frame(
5226
let ep = asm.sub(sp, SIZEOF_VALUE.into());
5227
asm.mov(cfp_opnd(RUBY_OFFSET_CFP_EP), ep);
5228
5229
- asm.comment("switch to new CFP");
5230
let new_cfp = asm.lea(cfp_opnd(0));
5231
if set_sp_cfp {
+ asm.comment("switch to new CFP");
5232
asm.mov(CFP, new_cfp);
5233
asm.store(Opnd::mem(64, EC, RUBY_OFFSET_EC_CFP), CFP);
5234
} else {
5235
+ asm.comment("set ec->cfp");
5236
asm.store(Opnd::mem(64, EC, RUBY_OFFSET_EC_CFP), new_cfp);
5237
}
5238
0 commit comments