From 0df6635711230ab306710056f621b6da59fac5ea Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 21 Aug 2013 17:09:51 -0300 Subject: "fixed" objects kept in a separated list (instead of being kept in 'allgc' list with a bit marking them) --- ltm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltm.c') diff --git a/ltm.c b/ltm.c index b2d36991..aa290185 100644 --- a/ltm.c +++ b/ltm.c @@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 2.19 2013/04/29 16:56:50 roberto Exp roberto $ +** $Id: ltm.c,v 2.20 2013/05/06 17:19:11 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -43,7 +43,7 @@ void luaT_init (lua_State *L) { int i; for (i=0; itmname[i] = luaS_new(L, luaT_eventname[i]); - luaS_fix(G(L)->tmname[i]); /* never collect these names */ + luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */ } } -- cgit v1.2.3-55-g6feb