1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Alan Wu 2021-04-19 18:52:55 -04:00
parent 10c0275b11
commit 8106a95efb

View file

@ -295,7 +295,7 @@ yjit_entry_prologue(void)
mov(cb, REG_SP, member_opnd(REG_CFP, rb_control_frame_t, sp)); mov(cb, REG_SP, member_opnd(REG_CFP, rb_control_frame_t, sp));
// Setup cfp->jit_return // Setup cfp->jit_return
// TODO: this could use a IP relative LEA instead of an 8 byte immediate // TODO: this could use an IP relative LEA instead of an 8 byte immediate
mov(cb, REG0, const_ptr_opnd(interp_exit)); mov(cb, REG0, const_ptr_opnd(interp_exit));
mov(cb, member_opnd(REG_CFP, rb_control_frame_t, jit_return), REG0); mov(cb, member_opnd(REG_CFP, rb_control_frame_t, jit_return), REG0);