aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-05 15:39:57 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-05 15:39:57 -0300
commitfee9e473f256cf5abe9072be7d912e87f66c8818 (patch)
treeda239776fe1ed0ba397488b013ca821a552dcc7a /lapi.c
parent82dfacbcf7fc62cfc9848808b02d935901135196 (diff)
downloadlua-fee9e473f256cf5abe9072be7d912e87f66c8818.tar.gz
lua-fee9e473f256cf5abe9072be7d912e87f66c8818.tar.bz2
lua-fee9e473f256cf5abe9072be7d912e87f66c8818.zip
inlining of `luaV_gettable' were too complex (dirty)
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index a8c34ed1..a4a2b647 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.235 2003/04/07 14:36:08 roberto Exp roberto $ 2** $Id: lapi.c,v 1.236 2003/04/28 19:58:06 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -485,7 +485,7 @@ LUA_API void lua_gettable (lua_State *L, int idx) {
485 StkId t; 485 StkId t;
486 lua_lock(L); 486 lua_lock(L);
487 t = luaA_index(L, idx); 487 t = luaA_index(L, idx);
488 setobj2s(L->top - 1, luaV_gettable(L, t, L->top - 1, 0)); 488 luaV_gettable(L, t, L->top - 1, L->top - 1);
489 lua_unlock(L); 489 lua_unlock(L);
490} 490}
491 491