new macro 'condmovestack' instead of 'condhardstacktests'

This commit is contained in:
Roberto Ierusalimschy
2009-06-08 16:35:59 -03:00
parent 5cdec7d124
commit 4a67e48611
4 changed files with 11 additions and 13 deletions

4
lgc.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lgc.c,v 2.52 2009/04/29 17:09:41 roberto Exp roberto $
** $Id: lgc.c,v 2.53 2009/05/21 20:06:11 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -551,7 +551,7 @@ static void sweepthread (lua_State *L, lua_State *L1, int alive) {
if ((L1->stacksize - EXTRA_STACK) > goodsize)
luaD_reallocstack(L1, goodsize);
else
condhardstacktests(luaD_reallocstack(L, L1->stacksize - EXTRA_STACK - 1));
condmovestack(L1);
}
}