Fix recording of __concat metamethod.

Reported by Elias Oelschner. Analyzed by XmiliaH.
master
Mike Pall 2022-05-02 22:33:35 +02:00
parent f2b37f51f6
commit 3ee3c9cfa9
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{
TRef *top = &J->base[topslot];
TValue savetv[5];
TValue savetv[5+LJ_FR2];
BCReg s;
RecordIndex ix;
lj_assertJ(baseslot < topslot, "bad CAT arg");