From 3819c30e5553b98ceb7d8d2da20c9da25cbdc62a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 4 Jun 2010 10:05:29 -0300 Subject: better names for barrier macros --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 3e8b2060..7a909b27 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.49 2010/04/13 20:48:12 roberto Exp roberto $ +** $Id: ltable.c,v 2.50 2010/04/18 13:22:48 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -423,7 +423,7 @@ static TValue *newkey (lua_State *L, Table *t, const TValue *key) { } } setobj2t(L, gkey(mp), key); - luaC_barriert(L, t, key); + luaC_barrierback(L, obj2gco(t), key); lua_assert(ttisnil(gval(mp))); return gval(mp); } -- cgit v1.2.3-55-g6feb