Skip to content

Commit db5d942

Browse files
committed
YJIT: No need to RESTORE_REG now that we reject tailcalls
Thanks to Kokubun for noticing. Follow-up: b0711b1
1 parent bbb7ab9 commit db5d942

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: vm_exec.h

-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ default: \
179179
/* don't run tailcalls since that breaks FINISH */ \
180180
if (val == Qundef && GET_CFP() != ec->cfp && (func = jit_compile(ec))) { \
181181
val = func(ec, ec->cfp); \
182-
RESTORE_REGS(); /* fix cfp for tailcall */ \
183182
if (ec->tag->state) THROW_EXCEPTION(val); \
184183
} \
185184
} while (0)

0 commit comments

Comments
 (0)