diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-04 10:05:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-04 10:05:29 -0300 |
commit | 3819c30e5553b98ceb7d8d2da20c9da25cbdc62a (patch) | |
tree | d08d1fe8202663cf7f6ae3e85f0f9dd7dfa20e01 /ltable.c | |
parent | e94fac8956436c246d564ef518b02afa484ac999 (diff) | |
download | lua-3819c30e5553b98ceb7d8d2da20c9da25cbdc62a.tar.gz lua-3819c30e5553b98ceb7d8d2da20c9da25cbdc62a.tar.bz2 lua-3819c30e5553b98ceb7d8d2da20c9da25cbdc62a.zip |
better names for barrier macros
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.49 2010/04/13 20:48:12 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.50 2010/04/18 13:22:48 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -423,7 +423,7 @@ static TValue *newkey (lua_State *L, Table *t, const TValue *key) { | |||
423 | } | 423 | } |
424 | } | 424 | } |
425 | setobj2t(L, gkey(mp), key); | 425 | setobj2t(L, gkey(mp), key); |
426 | luaC_barriert(L, t, key); | 426 | luaC_barrierback(L, obj2gco(t), key); |
427 | lua_assert(ttisnil(gval(mp))); | 427 | lua_assert(ttisnil(gval(mp))); |
428 | return gval(mp); | 428 | return gval(mp); |
429 | } | 429 | } |