H A D | lcode.c | 37 void luaK_nil (FuncState *fs, int from, int n) { argument 40 if (fs->pc > fs->lasttarget) { /* no jumps to current position? */ 41 previous = &fs->f->code[fs->pc-1]; 55 luaK_codeABC(fs, OP_LOADNIL, from, n - 1, 0); /* else no optimization */ 59 int luaK_jump (FuncState *fs) { argument 60 int jpc = fs->jpc; /* save list of jumps to here */ 62 fs->jpc = NO_JUMP; 63 j = luaK_codeAsBx(fs, OP_JM 69 luaK_ret(FuncState *fs, int first, int nret) argument 74 condjump(FuncState *fs, OpCode op, int A, int B, int C) argument 80 fixjump(FuncState *fs, int pc, int dest) argument 94 luaK_getlabel(FuncState *fs) argument 100 getjump(FuncState *fs, int pc) argument 109 getjumpcontrol(FuncState *fs, int pc) argument 122 need_value(FuncState *fs, int list) argument 131 patchtestreg(FuncState *fs, int node, int reg) argument 144 removevalues(FuncState *fs, int list) argument 150 patchlistaux(FuncState *fs, int list, int vtarget, int reg, int dtarget) argument 163 dischargejpc(FuncState *fs) argument 169 luaK_patchlist(FuncState *fs, int list, int target) argument 179 luaK_patchclose(FuncState *fs, int list, int level) argument 192 luaK_patchtohere(FuncState *fs, int list) argument 198 luaK_concat(FuncState *fs, int *l1, int l2) argument 212 luaK_code(FuncState *fs, Instruction i) argument 227 luaK_codeABC(FuncState *fs, OpCode o, int a, int b, int c) argument 236 luaK_codeABx(FuncState *fs, OpCode o, int a, unsigned int bc) argument 244 codeextraarg(FuncState *fs, int a) argument 250 luaK_codek(FuncState *fs, int reg, int k) argument 261 luaK_checkstack(FuncState *fs, int n) argument 271 luaK_reserveregs(FuncState *fs, int n) argument 277 freereg(FuncState *fs, int reg) argument 285 freeexp(FuncState *fs, expdesc *e) argument 291 addk(FuncState *fs, TValue *key, TValue *v) argument 319 luaK_stringK(FuncState *fs, TString *s) argument 326 luaK_numberK(FuncState *fs, lua_Number r) argument 343 boolK(FuncState *fs, int b) argument 350 nilK(FuncState *fs) argument 359 luaK_setreturns(FuncState *fs, expdesc *e, int nresults) argument 371 luaK_setoneret(FuncState *fs, expdesc *e) argument 383 luaK_dischargevars(FuncState *fs, expdesc *e) argument 415 code_label(FuncState *fs, int A, int b, int jump) argument 421 discharge2reg(FuncState *fs, expdesc *e, int reg) argument 460 discharge2anyreg(FuncState *fs, expdesc *e) argument 468 exp2reg(FuncState *fs, expdesc *e, int reg) argument 492 luaK_exp2nextreg(FuncState *fs, expdesc *e) argument 500 luaK_exp2anyreg(FuncState *fs, expdesc *e) argument 514 luaK_exp2anyregup(FuncState *fs, expdesc *e) argument 520 luaK_exp2val(FuncState *fs, expdesc *e) argument 528 luaK_exp2RK(FuncState *fs, expdesc *e) argument 558 luaK_storevar(FuncState *fs, expdesc *var, expdesc *ex) argument 585 luaK_self(FuncState *fs, expdesc *e, expdesc *key) argument 598 invertjump(FuncState *fs, expdesc *e) argument 606 jumponcond(FuncState *fs, expdesc *e, int cond) argument 621 luaK_goiftrue(FuncState *fs, expdesc *e) argument 645 luaK_goiffalse(FuncState *fs, expdesc *e) argument 668 codenot(FuncState *fs, expdesc *e) argument 703 luaK_indexed(FuncState *fs, expdesc *t, expdesc *k) argument 724 codearith(FuncState *fs, OpCode op, expdesc *e1, expdesc *e2, int line) argument 746 codecomp(FuncState *fs, OpCode op, int cond, expdesc *e1, expdesc *e2) argument 762 luaK_prefix(FuncState *fs, UnOpr op, expdesc *e, int line) argument 786 luaK_infix(FuncState *fs, BinOpr op, expdesc *v) argument 813 luaK_posfix(FuncState *fs, BinOpr op, expdesc *e1, expdesc *e2, int line) argument 862 luaK_fixline(FuncState *fs, int line) argument 867 luaK_setlist(FuncState *fs, int base, int nelems, int tostore) argument [all...] |