H A D | lcode.c | 38 void luaK_nil (FuncState *fs, int from, int n) { argument 41 if (fs->pc > fs->lasttarget) { /* no jumps to current position? */ 42 previous = &fs->f->code[fs->pc-1]; 56 luaK_codeABC(fs, OP_LOADNIL, from, n - 1, 0); /* else no optimization */ 60 int luaK_jump (FuncState *fs) { argument 61 int jpc = fs->jpc; /* save list of jumps to here */ 63 fs->jpc = NO_JUMP; 64 j = luaK_codeAsBx(fs, OP_JM 70 luaK_ret(FuncState *fs, int first, int nret) argument 75 condjump(FuncState *fs, OpCode op, int A, int B, int C) argument 81 fixjump(FuncState *fs, int pc, int dest) argument 95 luaK_getlabel(FuncState *fs) argument 101 getjump(FuncState *fs, int pc) argument 110 getjumpcontrol(FuncState *fs, int pc) argument 123 need_value(FuncState *fs, int list) argument 132 patchtestreg(FuncState *fs, int node, int reg) argument 145 removevalues(FuncState *fs, int list) argument 151 patchlistaux(FuncState *fs, int list, int vtarget, int reg, int dtarget) argument 164 dischargejpc(FuncState *fs) argument 170 luaK_patchlist(FuncState *fs, int list, int target) argument 180 luaK_patchclose(FuncState *fs, int list, int level) argument 193 luaK_patchtohere(FuncState *fs, int list) argument 199 luaK_concat(FuncState *fs, int *l1, int l2) argument 213 luaK_code(FuncState *fs, Instruction i) argument 228 luaK_codeABC(FuncState *fs, OpCode o, int a, int b, int c) argument 237 luaK_codeABx(FuncState *fs, OpCode o, int a, unsigned int bc) argument 245 codeextraarg(FuncState *fs, int a) argument 251 luaK_codek(FuncState *fs, int reg, int k) argument 262 luaK_checkstack(FuncState *fs, int n) argument 272 luaK_reserveregs(FuncState *fs, int n) argument 278 freereg(FuncState *fs, int reg) argument 286 freeexp(FuncState *fs, expdesc *e) argument 292 addk(FuncState *fs, TValue *key, TValue *v) argument 320 luaK_stringK(FuncState *fs, TString *s) argument 327 luaK_numberK(FuncState *fs, lua_Number r) argument 344 boolK(FuncState *fs, int b) argument 351 nilK(FuncState *fs) argument 360 luaK_setreturns(FuncState *fs, expdesc *e, int nresults) argument 372 luaK_setoneret(FuncState *fs, expdesc *e) argument 384 luaK_dischargevars(FuncState *fs, expdesc *e) argument 416 code_label(FuncState *fs, int A, int b, int jump) argument 422 discharge2reg(FuncState *fs, expdesc *e, int reg) argument 461 discharge2anyreg(FuncState *fs, expdesc *e) argument 469 exp2reg(FuncState *fs, expdesc *e, int reg) argument 493 luaK_exp2nextreg(FuncState *fs, expdesc *e) argument 501 luaK_exp2anyreg(FuncState *fs, expdesc *e) argument 515 luaK_exp2anyregup(FuncState *fs, expdesc *e) argument 521 luaK_exp2val(FuncState *fs, expdesc *e) argument 529 luaK_exp2RK(FuncState *fs, expdesc *e) argument 559 luaK_storevar(FuncState *fs, expdesc *var, expdesc *ex) argument 586 luaK_self(FuncState *fs, expdesc *e, expdesc *key) argument 599 invertjump(FuncState *fs, expdesc *e) argument 607 jumponcond(FuncState *fs, expdesc *e, int cond) argument 622 luaK_goiftrue(FuncState *fs, expdesc *e) argument 646 luaK_goiffalse(FuncState *fs, expdesc *e) argument 669 codenot(FuncState *fs, expdesc *e) argument 704 luaK_indexed(FuncState *fs, expdesc *t, expdesc *k) argument 730 codearith(FuncState *fs, OpCode op, expdesc *e1, expdesc *e2, int line) argument 752 codecomp(FuncState *fs, OpCode op, int cond, expdesc *e1, expdesc *e2) argument 768 luaK_prefix(FuncState *fs, UnOpr op, expdesc *e, int line) argument 792 luaK_infix(FuncState *fs, BinOpr op, expdesc *v) argument 819 luaK_posfix(FuncState *fs, BinOpr op, expdesc *e1, expdesc *e2, int line) argument 868 luaK_fixline(FuncState *fs, int line) argument 873 luaK_setlist(FuncState *fs, int base, int nelems, int tostore) argument [all...] |