50 for (i = 0; i < cl->nupvalues; i++) {
131 if (vname ==
NULL) vname =
"?";
132 luaG_runerror(L,
"variable '%s' got a non-closable value", vname);
148 errobj = &
G(L)->nilvalue;
150 errobj =
s2v(level + 1);
163 ((256ul << ((sizeof(L->stack->tbclist.delta) - 1) * 8)) - 1)
178 level->tbclist.delta =
cast(
unsigned short, level - L->
tbclist);
217 tbc -= tbc->tbclist.delta;
218 while (tbc > L->
stack && tbc->tbclist.delta == 0)
229 ptrdiff_t levelrel =
savestack(L, level);
286 if (pc < f->locvars[i].endpc) {
288 if (local_number == 0)
void luaG_runerror(lua_State *L, const char *fmt,...)
void luaD_seterrorobj(lua_State *L, int errcode, StkId oldtop)
void luaD_call(lua_State *L, StkId func, int nResults)
#define restorestack(L, n)
#define luaC_barrier(L, p, v)
#define luaC_objbarrier(L, p, o)
#define luaM_freearray(L, b, n, t)
#define setobj(L, obj1, obj2)
const TValue * luaT_gettmbyobj(lua_State *L, const TValue *o, TMS event)
GCObject * luaC_newobj(lua_State *L, int tt, size_t sz, GCObject **list, int offset)
void luaD_callnoyield(lua_State *L, StkId func, int nResults)
const char * luaG_findlocal(lua_State *L, CallInfo *ci, int n, StkId *pos)
static void poptbclist(lua_State *L)
void luaF_newtbcupval(lua_State *L, StkId level)
void luaF_freeproto(lua_State *L, Proto *f)
static void prepcallclosemth(lua_State *L, StkId level, int status, int yy)
static UpVal * newupval(lua_State *L, int tbc, StkId level, UpVal **prev)
void luaF_closeupval(lua_State *L, StkId level)
void luaF_unlinkupval(UpVal *uv)
LClosure * luaF_newLclosure(lua_State *L, int nupvals)
const char * luaF_getlocalname(const Proto *f, int local_number, int pc)
CClosure * luaF_newCclosure(lua_State *L, int nupvals)
Proto * luaF_newproto(lua_State *L)
void luaF_initupvals(lua_State *L, LClosure *cl)
UpVal * luaF_findupval(lua_State *L, StkId level)
static void callclosemethod(lua_State *L, TValue *obj, TValue *err, int yy)
static void checkclosemth(lua_State *L, StkId level)
void luaF_close(lua_State *L, StkId level, int status, int yy)
AbsLineInfo * abslineinfo
struct UpVal::@68::@69 open