Home
last modified time | relevance | path

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

/external/lua/src/
Dldebug.c56 static int getbaseline (const Proto *f, int pc, int *basepc) { in getbaseline() argument
58 *basepc = -1; /* start from the beginning */ in getbaseline()
76 *basepc = f->abslineinfo[i].pc; in getbaseline()
91 int basepc; in luaG_getfuncline() local
92 int baseline = getbaseline(f, pc, &basepc); in luaG_getfuncline()
93 while (basepc++ < pc) { /* walk until given instruction */ in luaG_getfuncline()
94 lua_assert(f->lineinfo[basepc] != ABSLINEINFO); in luaG_getfuncline()
95 baseline += f->lineinfo[basepc]; /* correct line */ in luaG_getfuncline()