diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 2.89 2010/03/25 13:06:36 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.90 2010/03/26 20:58:11 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 | */ |
| @@ -372,7 +372,6 @@ int lua_checkmemory (lua_State *L) { | |||
| 372 | GCObject *o; | 372 | GCObject *o; |
| 373 | UpVal *uv; | 373 | UpVal *uv; |
| 374 | checkliveness(g, &g->l_registry); | 374 | checkliveness(g, &g->l_registry); |
| 375 | lua_assert(!isdead(g, obj2gco(g->l_gt))); | ||
| 376 | checkstack(g, g->mainthread); | 375 | checkstack(g, g->mainthread); |
| 377 | for (o = g->allgc; o != NULL; o = gch(o)->next) { | 376 | for (o = g->allgc; o != NULL; o = gch(o)->next) { |
| 378 | lua_assert(!testbits(o->gch.marked, bitmask(SEPARATED))); | 377 | lua_assert(!testbits(o->gch.marked, bitmask(SEPARATED))); |
