Comment edits
This commit is contained in:
parent
3e80104024
commit
f1b11fa454
@ -242,14 +242,14 @@ yjit_gen_exit(jitstate_t *jit, ctx_t *ctx, codeblock_t *cb)
|
|||||||
return code_ptr;
|
return code_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generate an interpreter to REG_CFP->pc.
|
// Generate a continuation for gen_leave() that exits to the interpreter at REG_CFP->pc.
|
||||||
static uint8_t *
|
static uint8_t *
|
||||||
yjit_gen_leave_exit(codeblock_t *cb)
|
yjit_gen_leave_exit(codeblock_t *cb)
|
||||||
{
|
{
|
||||||
uint8_t *code_ptr = cb_get_ptr(cb, cb->write_pos);
|
uint8_t *code_ptr = cb_get_ptr(cb, cb->write_pos);
|
||||||
|
|
||||||
// Update the CFP on the EC
|
// Note, gen_leave() fully reconstructs interpreter state before
|
||||||
//mov(cb, member_opnd(REG_EC, rb_execution_context_t, cfp), REG_CFP);
|
// coming here.
|
||||||
|
|
||||||
// Every exit to the interpreter should be counted
|
// Every exit to the interpreter should be counted
|
||||||
GEN_COUNTER_INC(cb, leave_interp_return);
|
GEN_COUNTER_INC(cb, leave_interp_return);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user