diff options
-rw-r--r-- | ldo.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.25 2005/05/31 14:25:18 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.26 2005/06/13 14:15:54 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -116,7 +116,6 @@ static void correctstack (lua_State *L, TValue *oldstack) { | |||
116 | ci->top = (ci->top - oldstack) + L->stack; | 116 | ci->top = (ci->top - oldstack) + L->stack; |
117 | ci->base = (ci->base - oldstack) + L->stack; | 117 | ci->base = (ci->base - oldstack) + L->stack; |
118 | ci->func = (ci->func - oldstack) + L->stack; | 118 | ci->func = (ci->func - oldstack) + L->stack; |
119 | lua_assert(lua_checkpc(L, ci)); | ||
120 | } | 119 | } |
121 | L->base = L->ci->base; | 120 | L->base = L->ci->base; |
122 | } | 121 | } |