mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix data-flow analysis for BC_UCLO.
This commit is contained in:
parent
22946f268b
commit
f50d8986d8
@ -193,6 +193,7 @@ static BCReg snap_usedef(jit_State *J, uint8_t *udf,
|
||||
BCReg minslot = bc_a(ins);
|
||||
if (op >= BC_FORI && op <= BC_JFORL) minslot += FORL_EXT;
|
||||
else if (op >= BC_ITERL && op <= BC_JITERL) minslot += bc_b(pc[-1])-1;
|
||||
else if (op == BC_UCLO) { pc += bc_j(ins); break; }
|
||||
for (s = minslot; s < maxslot; s++) DEF_SLOT(s);
|
||||
return minslot < maxslot ? minslot : maxslot;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user