diff options
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 2.52 2009/04/29 17:09:41 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 2.53 2009/05/21 20:06:11 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -551,7 +551,7 @@ static void sweepthread (lua_State *L, lua_State *L1, int alive) { | |||
551 | if ((L1->stacksize - EXTRA_STACK) > goodsize) | 551 | if ((L1->stacksize - EXTRA_STACK) > goodsize) |
552 | luaD_reallocstack(L1, goodsize); | 552 | luaD_reallocstack(L1, goodsize); |
553 | else | 553 | else |
554 | condhardstacktests(luaD_reallocstack(L, L1->stacksize - EXTRA_STACK - 1)); | 554 | condmovestack(L1); |
555 | } | 555 | } |
556 | } | 556 | } |
557 | 557 | ||