Fix compilation of multi-result call to next().

Thanks to Vyacheslav Egorov.
master
Mike Pall 2021-10-06 17:31:46 +02:00
parent e4b4d94514
commit 442eff63ab
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ static void LJ_FASTCALL recff_next(jit_State *J, RecordFFData *rd)
ix.keyv.u32.lo = lj_tab_keyindex(tabV(&ix.tabv), keyv);
/* Omit the value, if not used by the caller. */
ix.idxchain = (J->framedepth && frame_islua(J->L->base-1) &&
bc_b(frame_pc(J->L->base-1)[-1]) <= 2);
bc_b(frame_pc(J->L->base-1)[-1])-1 < 2);
ix.mobj = 0; /* We don't need the next index. */
rd->nres = lj_record_next(J, &ix);
J->base[0] = ix.key;