From a3e1c40d6d6fb81db9d8b58aee69466f715aab5c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 16 Aug 2012 14:34:28 -0300 Subject: remove of unecessary luaD_checkstack. (In some cases, C should ensure stack space; in others, Lua can use the extra slots for temporary values.) --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 610af463..1bbeac1c 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.131 2012/07/02 15:38:36 roberto Exp roberto $ +** $Id: ltests.c,v 2.132 2012/07/04 15:52:38 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -753,7 +753,7 @@ static int string_query (lua_State *L) { int n = 0; for (ts = tb->hash[s]; ts; ts = gch(ts)->next) { setsvalue2s(L, L->top, rawgco2ts(ts)); - incr_top(L); + api_incr_top(L); n++; } return n; -- cgit v1.2.3-55-g6feb