diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 2.133 2012/08/16 17:34:28 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.134 2012/10/03 12:36:46 roberto Exp roberto $ |
| 3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -444,7 +444,7 @@ int lua_checkmemory (lua_State *L) { | |||
| 444 | maybedead = 0; | 444 | maybedead = 0; |
| 445 | for (o = g->allgc; o != NULL; o = gch(o)->next) { | 445 | for (o = g->allgc; o != NULL; o = gch(o)->next) { |
| 446 | if (g->sweepgc && o == *g->sweepgc) | 446 | if (g->sweepgc && o == *g->sweepgc) |
| 447 | maybedead = 1; /* part of the list not yet sweeped */ | 447 | maybedead = 1; /* part of the list not yet swept */ |
| 448 | checkobject(g, o, maybedead); | 448 | checkobject(g, o, maybedead); |
| 449 | lua_assert(!testbit(o->gch.marked, SEPARATED)); | 449 | lua_assert(!testbit(o->gch.marked, SEPARATED)); |
| 450 | } | 450 | } |
