summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-14 18:02:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-14 18:02:39 -0300
commit9eb0f25a296c355dc199647a3084de73da726ab2 (patch)
treecce6c40a462cc06a8b0410eb7684eb04ac119f4e /ldo.c
parentf93051155c4a5e7b56f892c2b9222f38b40d3e81 (diff)
downloadlua-9eb0f25a296c355dc199647a3084de73da726ab2.tar.gz
lua-9eb0f25a296c355dc199647a3084de73da726ab2.tar.bz2
lua-9eb0f25a296c355dc199647a3084de73da726ab2.zip
no more compatibility code for 4.0
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ldo.c b/ldo.c
index 9c5f7f3a..93e2aa0a 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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;