From a8d3aa14fdcbc8c8ee6512bbcb4ad51a488a1e57 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 29 Mar 2010 14:43:14 -0300 Subject: global table now is only kept in the registry --- ltests.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 15d02872..4b64fe32 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.89 2010/03/25 13:06:36 roberto Exp roberto $ +** $Id: ltests.c,v 2.90 2010/03/26 20:58:11 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -372,7 +372,6 @@ int lua_checkmemory (lua_State *L) { GCObject *o; UpVal *uv; checkliveness(g, &g->l_registry); - lua_assert(!isdead(g, obj2gco(g->l_gt))); checkstack(g, g->mainthread); for (o = g->allgc; o != NULL; o = gch(o)->next) { lua_assert(!testbits(o->gch.marked, bitmask(SEPARATED))); -- cgit v1.2.3-55-g6feb