Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dldebug.c60 static int getbaseline (const Proto *f, int pc, int *basepc) { in getbaseline() argument
62 *basepc = -1; /* start from the beginning */ in getbaseline()
72 *basepc = f->abslineinfo[i].pc; in getbaseline()
87 int basepc; in luaG_getfuncline() local
88 int baseline = getbaseline(f, pc, &basepc); in luaG_getfuncline()
89 while (basepc++ < pc) { /* walk until given instruction */ in luaG_getfuncline()
90 lua_assert(f->lineinfo[basepc] != ABSLINEINFO); in luaG_getfuncline()
91 baseline += f->lineinfo[basepc]; /* correct line */ in luaG_getfuncline()