Searched refs:GET_OPCODE (Results 1 – 11 of 11) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | ldebug.c | 283 check(pt->sizecode > 0 && GET_OPCODE(pt->code[pt->sizecode-1]) == OP_RETURN); in precheck() 291 switch (GET_OPCODE(i)) { in luaG_checkopenop() 324 OpCode op = GET_OPCODE(i); in symbexec() 356 if (!(GET_OPCODE(d) == OP_SETLIST && GETARG_C(d) == 0)) break; in symbexec() 371 check(GET_OPCODE(pt->code[pc+1]) == OP_JMP); in symbexec() 377 check(GET_OPCODE(pt->code[pc+1]) != OP_SETLIST || in symbexec() 456 OpCode op1 = GET_OPCODE(pt->code[pc + j]); in symbexec() 508 switch (GET_OPCODE(i)) { in getobjname() 550 if (GET_OPCODE(i) == OP_CALL || GET_OPCODE(i) == OP_TAILCALL || in getfuncname() 551 GET_OPCODE(i) == OP_TFORLOOP) in getfuncname()
|
| H A D | lcode.c | 44 if (GET_OPCODE(*previous) == OP_LOADNIL) { in luaK_nil() 111 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol() 125 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value() 133 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg() 518 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in invertjump() 519 GET_OPCODE(*pc) != OP_TEST); in invertjump() 527 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond() 755 if (e2->k == VRELOCABLE && GET_OPCODE(getcode(fs, e2)) == OP_CONCAT) { in luaK_posfix()
|
| H A D | lvm.c | 349 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i)) 350 #define RC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgR, base+GETARG_C(i)) 351 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \ 353 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \ 355 #define KBx(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, k+GETARG_Bx(i)) 406 switch (GET_OPCODE(i)) { in luaV_execute() 650 lua_assert(GET_OPCODE(*((L->ci)->savedpc - 1)) == OP_CALL); in luaV_execute() 732 if (GET_OPCODE(*pc) == OP_GETUPVAL) in luaV_execute() 735 lua_assert(GET_OPCODE(*pc) == OP_MOVE); in luaV_execute()
|
| H A D | lopcodes.h | 80 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
|
| H A D | print.c | 81 OpCode o=GET_OPCODE(i); in PrintCode()
|
| H A D | ldo.c | 397 lua_assert(GET_OPCODE(*((ci-1)->savedpc - 1)) == OP_CALL || in resume() 398 GET_OPCODE(*((ci-1)->savedpc - 1)) == OP_TAILCALL); in resume()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lvm.c | 488 OpCode op = GET_OPCODE(inst); in luaV_finishOp() 504 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp() 524 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_TFORLOOP); in luaV_finishOp() 552 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i)) 554 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \ 556 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \ 617 vmdispatch (GET_OPCODE(i)) { in luaV_execute() 627 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_EXTRAARG); in luaV_execute() 827 lua_assert(GET_OPCODE(*((ci)->u.l.savedpc - 1)) == OP_CALL); in luaV_execute() 865 lua_assert(GET_OPCODE(i) == OP_TFORLOOP); in luaV_execute() [all …]
|
| H A D | lcode.c | 40 if (GET_OPCODE(*previous) == OP_LOADNIL) { in luaK_nil() 109 if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1)))) in getjumpcontrol() 123 if (GET_OPCODE(i) != OP_TESTSET) return 1; in need_value() 131 if (GET_OPCODE(*i) != OP_TESTSET) in patchtestreg() 181 lua_assert(GET_OPCODE(fs->f->code[list]) == OP_JMP && in luaK_patchclose() 598 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in invertjump() 599 GET_OPCODE(*pc) != OP_TEST); in invertjump() 607 if (GET_OPCODE(ie) == OP_NOT) { in jumponcond() 835 if (e2->k == VRELOCABLE && GET_OPCODE(getcode(fs, e2)) == OP_CONCAT) { in luaK_posfix()
|
| H A D | ldebug.c | 360 OpCode op = GET_OPCODE(i); in findsetreg() 415 OpCode op = GET_OPCODE(i); in getobjname() 464 switch (GET_OPCODE(i)) { in getfuncname()
|
| H A D | lopcodes.h | 90 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) macro
|
| H A D | ldo.c | 318 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
|