Home
last modified time | relevance | path

Searched refs:callstatus (Results 1 – 7 of 7) sorted by relevance

/external/lua/src/
Dldo.c267 ci->callstatus |= CIST_HOOKED; in luaD_hook()
275 ci->callstatus &= ~CIST_HOOKED; in luaD_hook()
285 ci->callstatus |= CIST_TAIL; in callhook()
430 ci->callstatus = 0; in luaD_precall()
460 ci->callstatus = CIST_LUA; in luaD_precall()
524 lua_assert((ci->callstatus & CIST_YPCALL) || status == LUA_YIELD); in finishCcall()
525 if (ci->callstatus & CIST_YPCALL) { /* was inside a pcall? */ in finishCcall()
526 ci->callstatus &= ~CIST_YPCALL; /* continuation is also inside it */ in finishCcall()
569 if (ci->callstatus & CIST_YPCALL) in findpcall()
590 L->allowhook = getoah(ci->callstatus); /* restore original 'allowhook' */ in recover()
[all …]
Dldebug.c251 else if (ci->callstatus & CIST_FIN) { /* is this a finalizer? */ in getfuncname()
256 else if (!(ci->callstatus & CIST_TAIL) && isLua(ci->previous)) in getfuncname()
288 ar->istailcall = (ci) ? ci->callstatus & CIST_TAIL : 0; in auxgetinfo()
497 if (ci->callstatus & CIST_HOOKED) { /* was it called inside a hook? */ in funcnamefromcode()
674 if (ci->callstatus & CIST_HOOKYIELD) { /* called hook last time? */ in luaG_traceexec()
675 ci->callstatus &= ~CIST_HOOKYIELD; /* erase mark */ in luaG_traceexec()
694 ci->callstatus |= CIST_HOOKYIELD; /* mark that it yielded */ in luaG_traceexec()
Dlstate.h109 unsigned short callstatus; member
127 #define isLua(ci) ((ci)->callstatus & CIST_LUA)
Dlvm.c393 L->ci->callstatus |= CIST_LEQ; /* mark it is doing 'lt' for 'le' */ in luaV_lessequal()
395 L->ci->callstatus ^= CIST_LEQ; /* clear mark */ in luaV_lessequal()
673 if (ci->callstatus & CIST_LEQ) { /* "<=" using "<" instead? */ in luaV_finishOp()
675 ci->callstatus ^= CIST_LEQ; /* clear mark */ in luaV_finishOp()
791 ci->callstatus |= CIST_FRESH; /* fresh invocation of 'luaV_execute" */ in luaV_execute()
1169 oci->callstatus |= CIST_TAIL; /* function was tail called */ in luaV_execute()
1180 if (ci->callstatus & CIST_FRESH) /* local 'ci' still from callee */ in luaV_execute()
Dlstate.c163 ci->callstatus = 0; in stack_init()
Dlapi.c979 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ in lua_pcallk()
980 ci->callstatus |= CIST_YPCALL; /* function can do error recovery */ in lua_pcallk()
982 ci->callstatus &= ~CIST_YPCALL; in lua_pcallk()
Dlgc.c822 L->ci->callstatus |= CIST_FIN; /* will run a finalizer */ in GCTM()
824 L->ci->callstatus &= ~CIST_FIN; /* not running a finalizer anymore */ in GCTM()