From 26ae992129d5566ee973c0ff78fd709cd5d91271 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 10 Aug 2004 16:17:23 -0300 Subject: less conservative write barrier for tables --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 0d149e9f..67194a8e 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.2 2004/03/26 14:02:41 roberto Exp roberto $ +** $Id: ltable.c,v 2.3 2004/04/30 20:13:38 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -375,7 +375,7 @@ static TValue *newkey (lua_State *L, Table *t, const TValue *key) { } } setobj2t(L, gkey(mp), key); - luaC_barrier(L, t, key); + luaC_barriert(L, t, key); lua_assert(ttisnil(gval(mp))); for (;;) { /* correct `firstfree' */ if (ttisnil(gkey(t->firstfree))) -- cgit v1.2.3-55-g6feb