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 1.121 2002/11/13 11:31:39 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.122 2002/11/14 11:51:50 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 | */ |
@@ -372,7 +372,7 @@ static TObject *newkey (lua_State *L, Table *t, const TObject *key) { | |||
372 | mp = n; | 372 | mp = n; |
373 | } | 373 | } |
374 | } | 374 | } |
375 | setobj2t(key(mp), key); | 375 | setobj2t(key(mp), key); /* write barrier */ |
376 | lua_assert(ttisnil(val(mp))); | 376 | lua_assert(ttisnil(val(mp))); |
377 | for (;;) { /* correct `firstfree' */ | 377 | for (;;) { /* correct `firstfree' */ |
378 | if (ttisnil(key(t->firstfree))) | 378 | if (ttisnil(key(t->firstfree))) |