mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-20 22:13:25 +00:00
Followup fix: set maxslot for continuation return.
This commit is contained in:
parent
2ed0bb7f1e
commit
272b2f7368
@ -1533,6 +1533,7 @@ static void rec_ret(jit_State *J, BCReg rbase, int gotresults)
|
||||
J->pc = frame_contpc(frame)-1;
|
||||
J->baseslot -= (BCReg)cbase;
|
||||
J->base -= cbase;
|
||||
J->maxslot = cbase-2;
|
||||
if (cont == lj_cont_ra) {
|
||||
/* Copy result to destination slot. */
|
||||
BCReg dst = bc_a(*J->pc);
|
||||
|
Loading…
Reference in New Issue
Block a user