aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index a8929961..dbe5e2ed 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 2.130 2017/12/29 15:58:23 roberto Exp roberto $ 2** $Id: ltable.c,v 2.131 2018/01/28 15:13: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*/
@@ -600,7 +600,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) {
600 } 600 }
601 } 601 }
602 setnodekey(L, mp, key); 602 setnodekey(L, mp, key);
603 luaC_barrierback(L, t, key); 603 luaC_barrierback(L, obj2gco(t), key);
604 lua_assert(ttisnil(gval(mp))); 604 lua_assert(ttisnil(gval(mp)));
605 return gval(mp); 605 return gval(mp);
606} 606}