Home
last modified time | relevance | path

Searched refs:VLOCAL (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlparser.h27 VLOCAL, /* info = local register */ enumerator
37 #define vkisvar(k) (VLOCAL <= (k) && (k) <= VINDEXED)
38 #define vkisinreg(k) ((k) == VNONRELOC || (k) == VLOCAL)
H A Dlcode.c386 case VLOCAL: { in luaK_dischargevars()
398 if (e->u.ind.vt == VLOCAL) { /* 't' is in a register? */ in luaK_dischargevars()
561 case VLOCAL: { in luaK_storevar()
572 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
709 : check_exp(vkisinreg(t->k), VLOCAL); in luaK_indexed()
H A Dlparser.c235 f->upvalues[fs->nups].instack = (v->k == VLOCAL); in newupvalue()
274 init_exp(var, VLOCAL, v); /* variable is local */ in singlevaraux()
277 return VLOCAL; in singlevaraux()
300 lua_assert(var->k == VLOCAL || var->k == VUPVAL); in singlevar()
1120 lh->v.u.ind.vt = VLOCAL; in check_conflict()
1124 if (v->k == VLOCAL && lh->v.u.ind.idx == v->u.info) { in check_conflict()
1132 OpCode op = (v->k == VLOCAL) ? OP_MOVE : OP_GETUPVAL; in check_conflict()
1613 init_exp(&v, VLOCAL, 0); /* create and... */ in mainfunc()
/freebsd/contrib/lua/src/
H A Dlparser.h38 VLOCAL, /* local variable; var.ridx = register index; enumerator
64 #define vkisvar(k) (VLOCAL <= (k) && (k) <= VINDEXSTR)
H A Dlparser.c268 e->k = VLOCAL; in init_var()
285 case VLOCAL: { in check_readonly()
367 if (v->k == VLOCAL) { in newupvalue()
441 if (v == VLOCAL && !base) in singlevaraux()
448 if (var->k == VLOCAL || var->k == VUPVAL) /* local or upvalue? */ in singlevaraux()
1345 if (v->k == VLOCAL && lh->v.u.ind.t == v->u.var.ridx) { in check_conflict()
1350 if (lh->v.k == VINDEXED && v->k == VLOCAL && in check_conflict()
1360 if (v->k == VLOCAL) in check_conflict()
H A Dlcode.c785 case VLOCAL: { /* already in a register */ in luaK_dischargevars()
1057 case VLOCAL: { in luaK_storevar()
1289 (t->k == VLOCAL || t->k == VNONRELOC || t->k == VUPVAL)); in luaK_indexed()
1299 t->u.ind.t = (t->k == VLOCAL) ? t->u.var.ridx: t->u.info; in luaK_indexed()