diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-08 16:35:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-08 16:35:59 -0300 |
commit | 4a67e48611c1ffaa6d474e443c3c89849c8b6e5f (patch) | |
tree | 9eddf37f1a665067b4b88d588cc01b06077e705f /lgc.c | |
parent | 5cdec7d124e46c1409df8033f1b795a996dd00e4 (diff) | |
download | lua-4a67e48611c1ffaa6d474e443c3c89849c8b6e5f.tar.gz lua-4a67e48611c1ffaa6d474e443c3c89849c8b6e5f.tar.bz2 lua-4a67e48611c1ffaa6d474e443c3c89849c8b6e5f.zip |
new macro 'condmovestack' instead of 'condhardstacktests'
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 | ||