Lines Matching refs:lua_assert

81   lua_assert(e->k == VCONST);  in const2val()
176 lua_assert(dest != NO_JUMP); in fixjump()
179 lua_assert(GET_OPCODE(*jmp) == OP_JMP); in fixjump()
313 lua_assert(target <= fs->pc); in luaK_patchlist()
367 lua_assert(f->abslineinfo[fs->nabslineinfo - 1].pc == pc); in removelastlineinfo()
404 lua_assert(getOpMode(o) == iABC); in luaK_codeABCk()
405 lua_assert(a <= MAXARG_A && b <= MAXARG_B && in luaK_codeABCk()
415 lua_assert(getOpMode(o) == iABx); in luaK_codeABx()
416 lua_assert(a <= MAXARG_A && bc <= MAXARG_Bx); in luaK_codeABx()
426 lua_assert(getOpMode(o) == iAsBx); in luaK_codeAsBx()
427 lua_assert(a <= MAXARG_A && b <= MAXARG_Bx); in luaK_codeAsBx()
437 lua_assert(getOpMode(o) == isJ); in codesJ()
438 lua_assert(j <= MAXARG_sJ && (k & ~1) == 0); in codesJ()
447 lua_assert(a <= MAXARG_Ax); in codeextraarg()
500 lua_assert(reg == fs->freereg); in freereg()
623 lua_assert(!luaV_flttointeger(k, &ik, F2Ieq) || in luaK_numberK()
725 default: lua_assert(0); in const2exp()
739 lua_assert(e->k == VVARARG); in luaK_setreturns()
751 lua_assert(e->k == VKSTR); in str2K()
770 lua_assert(GETARG_C(getinstruction(fs, e)) == 2); in luaK_setoneret()
881 lua_assert(e->k == VJMP); in discharge2reg()
1093 default: lua_assert(0); /* invalid var kind to store */ in luaK_storevar()
1120 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in negatecondition()
1233 default: lua_assert(0); /* cannot happen */
1308 lua_assert(!hasjumps(t) &&
1393 lua_assert(baser <= opr &&
1413 lua_assert(OPR_ADD <= opr && opr <= OPR_SHR);
1461 lua_assert((VNIL <= e1->k && e1->k <= VKSTR) ||
1463 lua_assert(OP_ADD <= op && op <= OP_SHR);
1475 lua_assert(e2->k == VKINT);
1622 lua_assert(e1->k == VK || e1->k == VKINT || e1->k == VKFLT);
1659 default: lua_assert(0);
1713 default: lua_assert(0);
1726 lua_assert(e1->u.info + 1 == GETARG_A(*ie2));
1749 lua_assert(e1->t == NO_JUMP); /* list closed by 'luaK_infix' */
1755 lua_assert(e1->f == NO_JUMP); /* list closed by 'luaK_infix' */
1818 default: lua_assert(0);
1852 lua_assert(tostore != 0 && tostore <= LFIELDS_PER_FLUSH);
1892 lua_assert(i == 0 || isOT(*(pc - 1)) == isIT(*pc));