mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
YJIT: No need to RESTORE_REG now that we reject tailcalls
Thanks to Kokubun for noticing.
Follow-up: b0711b1cf1
This commit is contained in:
parent
bbb7ab906e
commit
db5d9429a0
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue