mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix recording of __concat metamethod.
Reported by Elias Oelschner. Analyzed by XmiliaH.
This commit is contained in:
parent
f2b37f51f6
commit
3ee3c9cfa9
@ -2043,7 +2043,7 @@ static TRef rec_tnew(jit_State *J, uint32_t ah)
|
|||||||
static TRef rec_cat(jit_State *J, BCReg baseslot, BCReg topslot)
|
static TRef rec_cat(jit_State *J, BCReg baseslot, BCReg topslot)
|
||||||
{
|
{
|
||||||
TRef *top = &J->base[topslot];
|
TRef *top = &J->base[topslot];
|
||||||
TValue savetv[5];
|
TValue savetv[5+LJ_FR2];
|
||||||
BCReg s;
|
BCReg s;
|
||||||
RecordIndex ix;
|
RecordIndex ix;
|
||||||
lj_assertJ(baseslot < topslot, "bad CAT arg");
|
lj_assertJ(baseslot < topslot, "bad CAT arg");
|
||||||
|
Loading…
Reference in New Issue
Block a user