Update LuaJIT to commit e826d0c

This commit is contained in:
Sasha Szpakowski
2023-10-22 21:15:55 -03:00
parent b75ae16560
commit 69d3c41bfc
37 changed files with 378 additions and 210 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ static int call_init(lua_State *L, GCfunc *fn)
int numparams = pt->numparams;
int gotparams = (int)(L->top - L->base);
int need = pt->framesize;
if ((pt->flags & PROTO_VARARG)) need += 1+gotparams;
if ((pt->flags & PROTO_VARARG)) need += 1+LJ_FR2+gotparams;
lj_state_checkstack(L, (MSize)need);
numparams -= gotparams;
return numparams >= 0 ? numparams : 0;