diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-11 13:10:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-11 13:10:41 -0300 |
commit | 0cf3b6495a9eb58b7e50f43d633414aabab199af (patch) | |
tree | 2ecc23433f5bbd817db7719c3b6bb76965802c1c /ltests.c | |
parent | b66fedadaef9b6adcdc531d96eb0c4e54a600f6b (diff) | |
download | lua-0cf3b6495a9eb58b7e50f43d633414aabab199af.tar.gz lua-0cf3b6495a9eb58b7e50f43d633414aabab199af.tar.bz2 lua-0cf3b6495a9eb58b7e50f43d633414aabab199af.zip |
'ci_func' don't need to be exported
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.201 2014/12/18 12:13:42 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.202 2015/01/16 16:54:37 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -291,7 +291,7 @@ static int lua_checkpc (lua_State *L, CallInfo *ci) { | |||
291 | else { | 291 | else { |
292 | Proto *p; | 292 | Proto *p; |
293 | if (L->status != LUA_YIELD || ci != L->ci) | 293 | if (L->status != LUA_YIELD || ci != L->ci) |
294 | p = ci_func(ci)->p; | 294 | p = clLvalue(ci->func)->p; |
295 | else /* real 'func' was saved in 'extra' field */ | 295 | else /* real 'func' was saved in 'extra' field */ |
296 | p = clLvalue(restorestack(L, ci->extra))->p; | 296 | p = clLvalue(restorestack(L, ci->extra))->p; |
297 | return p->code <= ci->u.l.savedpc && | 297 | return p->code <= ci->u.l.savedpc && |