'ci_func' don't need to be exported

This commit is contained in:
Roberto Ierusalimschy
2015-03-11 13:10:41 -03:00
parent b66fedadae
commit 0cf3b6495a
3 changed files with 8 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.c,v 2.201 2014/12/18 12:13:42 roberto Exp roberto $
** $Id: ltests.c,v 2.202 2015/01/16 16:54:37 roberto Exp roberto $
** Internal Module for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -291,7 +291,7 @@ static int lua_checkpc (lua_State *L, CallInfo *ci) {
else {
Proto *p;
if (L->status != LUA_YIELD || ci != L->ci)
p = ci_func(ci)->p;
p = clLvalue(ci->func)->p;
else /* real 'func' was saved in 'extra' field */
p = clLvalue(restorestack(L, ci->extra))->p;
return p->code <= ci->u.l.savedpc &&