diff options
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.80 2013/08/27 20:04:00 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.81 2013/08/28 18:30:26 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 | */ |
@@ -461,7 +461,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { | |||
461 | } | 461 | } |
462 | } | 462 | } |
463 | setobj2t(L, gkey(mp), key); | 463 | setobj2t(L, gkey(mp), key); |
464 | luaC_barrierback(L, obj2gco(t), key); | 464 | luaC_barrierback(L, t, key); |
465 | lua_assert(ttisnil(gval(mp))); | 465 | lua_assert(ttisnil(gval(mp))); |
466 | return gval(mp); | 466 | return gval(mp); |
467 | } | 467 | } |