From e506b864cdc522ed7bf33e81d785fcfbd40a0368 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 1 Feb 2001 15:40:48 -0200 Subject: no need for tags in boxed values :-( --- lgc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lgc.c') diff --git a/lgc.c b/lgc.c index 182f6048..90c8165a 100644 --- a/lgc.c +++ b/lgc.c @@ -1,5 +1,5 @@ /* -** $Id: lgc.c,v 1.82 2001/01/29 17:16:58 roberto Exp roberto $ +** $Id: lgc.c,v 1.83 2001/01/29 19:34:02 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -66,8 +66,6 @@ static void marktable (GCState *st, Hash *h) { static void markobject (GCState *st, TObject *o) { - lua_assert(ttype(o) == LUA_TNUMBER || - ttype(o) == ((TValue *)(o->value.v))->ttype); switch (ttype(o)) { case LUA_TUSERDATA: case LUA_TSTRING: strmark(tsvalue(o)); -- cgit v1.2.3-55-g6feb