H A D | lcode.c | 37 void luaK_nil (FuncState *fs, int from, int n) { argument 39 if (fs->pc > fs->lasttarget) { /* no jumps to current position? */ 40 if (fs->pc == 0) { /* function start? */ 41 if (from >= fs->nactvar) 45 previous = &fs->f->code[fs->pc-1]; 57 luaK_codeABC(fs, OP_LOADNIL, from, from+n-1, 0); /* else no optimization */ 61 int luaK_jump (FuncState *fs) { argument 62 int jpc = fs 71 luaK_ret(FuncState *fs, int first, int nret) argument 76 condjump(FuncState *fs, OpCode op, int A, int B, int C) argument 82 fixjump(FuncState *fs, int pc, int dest) argument 96 luaK_getlabel(FuncState *fs) argument 102 getjump(FuncState *fs, int pc) argument 111 getjumpcontrol(FuncState *fs, int pc) argument 124 need_value(FuncState *fs, int list) argument 133 patchtestreg(FuncState *fs, int node, int reg) argument 146 removevalues(FuncState *fs, int list) argument 152 patchlistaux(FuncState *fs, int list, int vtarget, int reg, int dtarget) argument 165 dischargejpc(FuncState *fs) argument 171 luaK_patchlist(FuncState *fs, int list, int target) argument 181 luaK_patchtohere(FuncState *fs, int list) argument 187 luaK_concat(FuncState *fs, int *l1, int l2) argument 201 luaK_checkstack(FuncState *fs, int n) argument 211 luaK_reserveregs(FuncState *fs, int n) argument 217 freereg(FuncState *fs, int reg) argument 225 freeexp(FuncState *fs, expdesc *e) argument 231 addk(FuncState *fs, TValue *k, TValue *v) argument 252 luaK_stringK(FuncState *fs, TString *s) argument 259 luaK_numberK(FuncState *fs, lua_Number r) argument 266 boolK(FuncState *fs, int b) argument 273 nilK(FuncState *fs) argument 282 luaK_setreturns(FuncState *fs, expdesc *e, int nresults) argument 294 luaK_setoneret(FuncState *fs, expdesc *e) argument 306 luaK_dischargevars(FuncState *fs, expdesc *e) argument 339 code_label(FuncState *fs, int A, int b, int jump) argument 345 discharge2reg(FuncState *fs, expdesc *e, int reg) argument 384 discharge2anyreg(FuncState *fs, expdesc *e) argument 392 exp2reg(FuncState *fs, expdesc *e, int reg) argument 416 luaK_exp2nextreg(FuncState *fs, expdesc *e) argument 424 luaK_exp2anyreg(FuncState *fs, expdesc *e) argument 438 luaK_exp2val(FuncState *fs, expdesc *e) argument 446 luaK_exp2RK(FuncState *fs, expdesc *e) argument 474 luaK_storevar(FuncState *fs, expdesc *var, expdesc *ex) argument 505 luaK_self(FuncState *fs, expdesc *e, expdesc *key) argument 518 invertjump(FuncState *fs, expdesc *e) argument 526 jumponcond(FuncState *fs, expdesc *e, int cond) argument 541 luaK_goiftrue(FuncState *fs, expdesc *e) argument 569 luaK_goiffalse(FuncState *fs, expdesc *e) argument 596 codenot(FuncState *fs, expdesc *e) argument 631 luaK_indexed(FuncState *fs, expdesc *t, expdesc *k) argument 663 codearith(FuncState *fs, OpCode op, expdesc *e1, expdesc *e2) argument 683 codecomp(FuncState *fs, OpCode op, int cond, expdesc *e1, expdesc *e2) argument 699 luaK_prefix(FuncState *fs, UnOpr op, expdesc *e) argument 720 luaK_infix(FuncState *fs, BinOpr op, expdesc *v) argument 747 luaK_posfix(FuncState *fs, BinOpr op, expdesc *e1, expdesc *e2) argument 794 luaK_fixline(FuncState *fs, int line) argument 799 luaK_code(FuncState *fs, Instruction i, int line) argument 814 luaK_codeABC(FuncState *fs, OpCode o, int a, int b, int c) argument 822 luaK_codeABx(FuncState *fs, OpCode o, int a, unsigned int bc) argument 829 luaK_setlist(FuncState *fs, int base, int nelems, int tostore) argument [all...] |