diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-03-29 14:43:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-03-29 14:43:14 -0300 |
commit | a8d3aa14fdcbc8c8ee6512bbcb4ad51a488a1e57 (patch) | |
tree | bda3a46753aff65cef00562e405b999c47fbb15b /ltests.c | |
parent | 064e406f67c0153999a5246deb1d616b06ee9bb0 (diff) | |
download | lua-a8d3aa14fdcbc8c8ee6512bbcb4ad51a488a1e57.tar.gz lua-a8d3aa14fdcbc8c8ee6512bbcb4ad51a488a1e57.tar.bz2 lua-a8d3aa14fdcbc8c8ee6512bbcb4ad51a488a1e57.zip |
global table now is only kept in the registry
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))); |