зеркало из https://github.com/github/ruby.git
YJIT: No need to RESTORE_REG now that we reject tailcalls
Thanks to Kokubun for noticing.
Follow-up: b0711b1cf1
This commit is contained in:
Родитель
bbb7ab906e
Коммит
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче