27 OPR_ADD, OPR_SUB, OPR_MUL, OPR_DIV, OPR_MOD, OPR_POW,
30 OPR_LT, OPR_LE, OPR_GT, OPR_GE,
36typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr;
39#define getcode(fs,e) ((fs)->f->code[(e)->u.s.info])
41#define luaK_codeAsBx(fs,o,A,sBx) luaK_codeABx(fs,o,A,(sBx)+MAXARG_sBx)
43#define luaK_setmultret(fs,e) luaK_setreturns(fs, e, LUA_MULTRET)
45LUAI_FUNC
int luaK_codeABx (
FuncState *fs, OpCode o,
int A,
unsigned int Bx);
46LUAI_FUNC
int luaK_codeABC (
FuncState *fs, OpCode o,
int A,
int B,
int C);
47LUAI_FUNC
void luaK_fixline (
FuncState *fs,
int line);
48LUAI_FUNC
void luaK_nil (
FuncState *fs,
int from,
int n);
49LUAI_FUNC
void luaK_reserveregs (
FuncState *fs,
int n);
50LUAI_FUNC
void luaK_checkstack (
FuncState *fs,
int n);
52LUAI_FUNC
int luaK_numberK (
FuncState *fs, lua_Number r);
65LUAI_FUNC
void luaK_ret (
FuncState *fs,
int first,
int nret);
66LUAI_FUNC
void luaK_patchlist (
FuncState *fs,
int list,
int target);
67LUAI_FUNC
void luaK_patchtohere (
FuncState *fs,
int list);
68LUAI_FUNC
void luaK_concat (
FuncState *fs,
int *l1,
int l2);
69LUAI_FUNC
int luaK_getlabel (
FuncState *fs);
73LUAI_FUNC
void luaK_setlist (
FuncState *fs,
int base,
int nelems,
int tostore);
Definition: lobject.h:199