From 0567221848b1802ab18cc2ac3e0ae5dc7fd46dc1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 10 May 2010 15:24:36 -0300 Subject: udata in 'tobefnz' list be have old bit on (it will be cleared when udata is moved to 'allgc' list) --- ltests.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 71b0239b..765ad7b2 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.103 2010/05/07 18:09:23 roberto Exp roberto $ +** $Id: ltests.c,v 2.104 2010/05/07 18:23:17 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -442,7 +442,6 @@ int lua_checkmemory (lua_State *L) { for (o = g->tobefnz; o != NULL; o = gch(o)->next) { lua_assert(gch(o)->tt == LUA_TUSERDATA); lua_assert(isblack(o)); - lua_assert(!isold(o)); lua_assert(testbit(o->gch.marked, SEPARATED)); } /* check 'uvhead' list */ -- cgit v1.2.3-55-g6feb