Searched refs:GET_OPCODE (Results 1 – 17 of 17) sorted by relevance
114 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro118 #define checkopm(i,m) (getOpMode(GET_OPCODE(i)) == m)392 ((testOTMode(GET_OPCODE(i)) && GETARG_C(i) == 0) || \393 GET_OPCODE(i) == OP_TAILCALL)396 #define isIT(i) (testITMode(GET_OPCODE(i)) && GETARG_B(i) == 0)
134 if (GET_OPCODE(*previous) == OP_LOADNIL) { /* previous is LOADNIL? */ in luaK_nil()173 lua_assert(GET_OPCODE(*jmp) == OP_JMP); in fixjump()245 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()261 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()908 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()1110 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in negatecondition()1111 GET_OPCODE(*pc) != OP_TEST); in negatecondition()1125 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()1691 if (GET_OPCODE(*ie2) == OP_CONCAT) { /* is 'e2' a concatenation? */ in codeconcat()1837 if (GET_OPCODE(pc) != OP_JMP) in finaltarget()[all …]
16 #define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i));
307 lua_assert(GET_OPCODE(p->code[0]) == OP_VARARGPREP); in collectvalidlines()469 if (testMMMode(GET_OPCODE(p->code[lastpc]))) in findsetreg()473 OpCode op = GET_OPCODE(i); in findsetreg()536 OpCode op = GET_OPCODE(i); in getobjname()598 switch (GET_OPCODE(i)) { in funcnamefromcode()
817 OpCode op = GET_OPCODE(inst); in luaV_finishOp()841 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()1187 vmdispatch (GET_OPCODE(i)) { in luaV_execute()1522 lua_assert(OP_ADD <= GET_OPCODE(pi) && GET_OPCODE(pi) <= OP_SHR); in luaV_execute()1822 lua_assert(GET_OPCODE(i) == OP_TFORCALL && ra == RA(i)); in luaV_execute()1839 lua_assert(GET_OPCODE(i) == OP_TFORLOOP && ra == RA(i)); in luaV_execute()
341 OpCode o=GET_OPCODE(i); in PrintCode()
679 OpCode o = GET_OPCODE(i); in buildop()
487 OpCode op = GET_OPCODE(inst); in luaV_finishOp()503 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()523 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_TFORLOOP); in luaV_finishOp()551 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i))553 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \555 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \616 vmdispatch (GET_OPCODE(i)) { in luaV_execute()626 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_EXTRAARG); in luaV_execute()826 lua_assert(GET_OPCODE(*((ci)->u.l.savedpc - 1)) == OP_CALL); in luaV_execute()864 lua_assert(GET_OPCODE(i) == OP_TFORLOOP); in luaV_execute()[all …]
43 if (GET_OPCODE(*previous) == OP_LOADNIL) { in luaK_nil()112 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol()126 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value()134 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg()184 lua_assert(GET_OPCODE(fs->f->code[list]) == OP_JMP && in luaK_patchclose()601 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in invertjump()602 GET_OPCODE(*pc) != OP_TEST); in invertjump()610 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond()838 if (e2->k == VRELOCABLE && GET_OPCODE(getcode(fs, e2)) == OP_CONCAT) { in luaK_posfix()
359 OpCode op = GET_OPCODE(i); in findsetreg()414 OpCode op = GET_OPCODE(i); in getobjname()463 switch (GET_OPCODE(i)) { in getfuncname()
89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
331 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
181 #define GET_OPCODE(sgl_off__opcode) \ macro
141 if ( GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) == in tws_passthru()
959 GET_OPCODE(req->cmd_pkt->cmd.pkt_a.res__opcode) != in tws_dmamap_data_load_cbfn()
1769 opcode = GET_OPCODE(cpl); in reclaim_wr_resources()
329 #define GET_OPCODE(cmd) ((cmd)->ot.opcode) macro