27#define hasjumps(e) ((e)->t != (e)->f)
43 previous = &fs->
f->
code[fs->
pc-1];
47 if (pfrom <= from && from <= pto+1) {
82 int offset = dest-(pc+1);
105 return (pc+1)+offset;
170 if (target == fs->
pc)
200 int newstack = fs->
freereg + n;
233 int oldsize = f->
sizek;
242 while (oldsize < f->sizek)
setnilvalue(&f->
k[oldsize++]);
253 return addk(fs, &o, &o);
260 return addk(fs, &o, &o);
267 return addk(fs, &o, &o);
276 return addk(fs, &k, &v);
615 {
int temp = e->
f; e->
f = e->
t; e->
t = temp; }
637 if (v2 == 0)
return 0;
640 if (v2 == 0)
return 0;
681 temp = o1; o1 = o2; o2 = temp;
794 MAX_INT,
"code size overflow");
798 MAX_INT,
"code size overflow");
int luaK_jump(FuncState *fs)
void luaK_prefix(FuncState *fs, UnOpr op, expdesc *e)
void luaK_infix(FuncState *fs, BinOpr op, expdesc *v)
static int jumponcond(FuncState *fs, expdesc *e, int cond)
int luaK_numberK(FuncState *fs, lua_Number r)
void luaK_exp2val(FuncState *fs, expdesc *e)
void luaK_exp2nextreg(FuncState *fs, expdesc *e)
static int code_label(FuncState *fs, int A, int b, int jump)
static void luaK_goiffalse(FuncState *fs, expdesc *e)
void luaK_storevar(FuncState *fs, expdesc *var, expdesc *ex)
static void freereg(FuncState *fs, int reg)
static Instruction * getjumpcontrol(FuncState *fs, int pc)
void luaK_self(FuncState *fs, expdesc *e, expdesc *key)
int luaK_codeABx(FuncState *fs, OpCode o, int a, unsigned int bc)
static void codecomp(FuncState *fs, OpCode op, int cond, expdesc *e1, expdesc *e2)
static void discharge2anyreg(FuncState *fs, expdesc *e)
static void codearith(FuncState *fs, OpCode op, expdesc *e1, expdesc *e2)
static int isnumeral(expdesc *e)
void luaK_patchlist(FuncState *fs, int list, int target)
void luaK_patchtohere(FuncState *fs, int list)
static int luaK_code(FuncState *fs, Instruction i, int line)
void luaK_nil(FuncState *fs, int from, int n)
void luaK_posfix(FuncState *fs, BinOpr op, expdesc *e1, expdesc *e2)
static void removevalues(FuncState *fs, int list)
static int condjump(FuncState *fs, OpCode op, int A, int B, int C)
void luaK_goiftrue(FuncState *fs, expdesc *e)
void luaK_setoneret(FuncState *fs, expdesc *e)
static void patchlistaux(FuncState *fs, int list, int vtarget, int reg, int dtarget)
static void invertjump(FuncState *fs, expdesc *e)
int luaK_exp2RK(FuncState *fs, expdesc *e)
static void fixjump(FuncState *fs, int pc, int dest)
static void discharge2reg(FuncState *fs, expdesc *e, int reg)
static int nilK(FuncState *fs)
void luaK_dischargevars(FuncState *fs, expdesc *e)
void luaK_concat(FuncState *fs, int *l1, int l2)
static void freeexp(FuncState *fs, expdesc *e)
void luaK_setreturns(FuncState *fs, expdesc *e, int nresults)
static void exp2reg(FuncState *fs, expdesc *e, int reg)
void luaK_fixline(FuncState *fs, int line)
int luaK_stringK(FuncState *fs, TString *s)
static int getjump(FuncState *fs, int pc)
static int patchtestreg(FuncState *fs, int node, int reg)
int luaK_exp2anyreg(FuncState *fs, expdesc *e)
static void codenot(FuncState *fs, expdesc *e)
void luaK_setlist(FuncState *fs, int base, int nelems, int tostore)
static int addk(FuncState *fs, TValue *k, TValue *v)
static void dischargejpc(FuncState *fs)
void luaK_ret(FuncState *fs, int first, int nret)
void luaK_reserveregs(FuncState *fs, int n)
static int need_value(FuncState *fs, int list)
static int constfolding(OpCode op, expdesc *e1, expdesc *e2)
void luaK_indexed(FuncState *fs, expdesc *t, expdesc *k)
int luaK_getlabel(FuncState *fs)
void luaK_checkstack(FuncState *fs, int n)
static int boolK(FuncState *fs, int b)
#define luaK_codeAsBx(fs, o, A, sBx)
#define luaC_barrier(L, p, v)
void luaX_syntaxerror(LexState *ls, const char *msg)
#define luaM_growvector(L, v, nelems, size, t, limit, e)
int luaO_rawequalObj(const TValue *t1, const TValue *t2)
#define setbvalue(obj, x)
#define setsvalue(L, obj, x)
#define setnvalue(obj, x)
#define sethvalue(L, obj, x)
#define setobj(L, obj1, obj2)
#define LFIELDS_PER_FLUSH
#define CREATE_ABx(o, a, bc)
#define CREATE_ABC(o, a, b, c)
static int cond(LexState *ls)
TValue * luaH_set(lua_State *L, Table *t, const TValue *key)
#define luai_nummul(L, a, b)
#define luai_numdiv(L, a, b)
#define luai_numpow(L, a, b)
#define luai_numunm(L, a)
#define luai_numsub(L, a, b)
#define luai_nummod(L, a, b, m)
#define luai_numadd(L, a, b)
#define luaK_codeABC(fs, o, a, b, c)
CURL_EXTERN CURLMcode curl_socket_t s
struct expdesc::@52::@53 s