diff options
Diffstat (limited to '')
| -rw-r--r-- | ldo.c | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 1.217 2003/04/03 13:35:34 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.218 2003/05/13 19:22:19 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 | */ |
| @@ -269,9 +269,6 @@ StkId luaD_precall (lua_State *L, StkId func) { | |||
| 269 | if (L->hookmask & LUA_MASKCALL) | 269 | if (L->hookmask & LUA_MASKCALL) |
| 270 | luaD_callhook(L, LUA_HOOKCALL, -1); | 270 | luaD_callhook(L, LUA_HOOKCALL, -1); |
| 271 | lua_unlock(L); | 271 | lua_unlock(L); |
| 272 | #ifdef LUA_COMPATUPVALUES | ||
| 273 | lua_pushupvalues(L); | ||
| 274 | #endif | ||
| 275 | n = (*clvalue(L->base - 1)->c.f)(L); /* do the actual call */ | 272 | n = (*clvalue(L->base - 1)->c.f)(L); /* do the actual call */ |
| 276 | lua_lock(L); | 273 | lua_lock(L); |
| 277 | return L->top - n; | 274 | return L->top - n; |
