YJIT: No need to RESTORE_REG now that we reject tailcalls
Thanks to Kokubun for noticing. Follow-up: b0711b1cf152afad0a480ee2f9bedd142a0d24ac
This commit is contained in:
parent
bbb7ab906e
commit
db5d9429a0
@ -179,7 +179,6 @@ default: \
|
||||
/* don't run tailcalls since that breaks FINISH */ \
|
||||
if (val == Qundef && GET_CFP() != ec->cfp && (func = jit_compile(ec))) { \
|
||||
val = func(ec, ec->cfp); \
|
||||
RESTORE_REGS(); /* fix cfp for tailcall */ \
|
||||
if (ec->tag->state) THROW_EXCEPTION(val); \
|
||||
} \
|
||||
} while (0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user