Lines Matching refs:lua_assert
106 lua_assert(dest != NO_JUMP); in fixjump()
267 lua_assert(target < fs->pc); in luaK_patchlist()
281 lua_assert(GET_OPCODE(fs->f->code[list]) == OP_JMP && in luaK_patchclose()
313 lua_assert(getOpMode(o) == iABC); in luaK_codeABC()
314 lua_assert(getBMode(o) != OpArgN || b == 0); in luaK_codeABC()
315 lua_assert(getCMode(o) != OpArgN || c == 0); in luaK_codeABC()
316 lua_assert(a <= MAXARG_A && b <= MAXARG_B && c <= MAXARG_C); in luaK_codeABC()
325 lua_assert(getOpMode(o) == iABx || getOpMode(o) == iAsBx); in luaK_codeABx()
326 lua_assert(getCMode(o) == OpArgN); in luaK_codeABx()
327 lua_assert(a <= MAXARG_A && bc <= MAXARG_Bx); in luaK_codeABx()
336 lua_assert(a <= MAXARG_Ax); in codeextraarg()
389 lua_assert(reg == fs->freereg); in freereg()
525 else lua_assert(nresults == LUA_MULTRET); in luaK_setreturns()
542 lua_assert(GETARG_C(getinstruction(fs, e)) == 2); in luaK_setoneret()
575 lua_assert(e->u.ind.vt == VUPVAL); in luaK_dischargevars()
629 lua_assert(e->k == VJMP); in discharge2reg()
800 default: lua_assert(0); /* invalid var kind to store */ in luaK_storevar()
827 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in negatecondition()
933 default: lua_assert(0); /* cannot happen */ in codenot()
947 lua_assert(!hasjumps(t) && (vkisinreg(t->k) || t->k == VUPVAL)); in luaK_indexed()
1077 default: lua_assert(0); in luaK_prefix()
1128 lua_assert(e1->t == NO_JUMP); /* list closed by 'luK_infix' */ in luaK_posfix()
1135 lua_assert(e1->f == NO_JUMP); /* list closed by 'luK_infix' */ in luaK_posfix()
1145 lua_assert(e1->u.info == GETARG_B(getinstruction(fs, e2))-1); in luaK_posfix()
1169 default: lua_assert(0); in luaK_posfix()
1192 lua_assert(tostore != 0 && tostore <= LFIELDS_PER_FLUSH); in luaK_setlist()