mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix recording of JLOOP with higher maxslot.
This commit is contained in:
parent
f69524f7f1
commit
d85b7e636e
@ -483,7 +483,7 @@ static LoopEvent rec_iterl(jit_State *J, const BCIns iterins)
|
|||||||
/* Record LOOP/JLOOP. Now, that was easy. */
|
/* Record LOOP/JLOOP. Now, that was easy. */
|
||||||
static LoopEvent rec_loop(jit_State *J, BCReg ra)
|
static LoopEvent rec_loop(jit_State *J, BCReg ra)
|
||||||
{
|
{
|
||||||
J->maxslot = ra;
|
if (ra < J->maxslot) J->maxslot = ra;
|
||||||
J->pc++;
|
J->pc++;
|
||||||
return LOOPEV_ENTER;
|
return LOOPEV_ENTER;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user