diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 2.248 2015/07/20 18:24:50 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.249 2015/08/03 19:50:49 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -217,6 +217,7 @@ void luaV_finishset (lua_State *L, const TValue *t, TValue *key, | |||
217 | } | 217 | } |
218 | t = tm; /* else repeat assignment over 'tm' */ | 218 | t = tm; /* else repeat assignment over 'tm' */ |
219 | if (luaV_fastset(L, t, key, oldval, luaH_get, val)) { | 219 | if (luaV_fastset(L, t, key, oldval, luaH_get, val)) { |
220 | invalidateTMcache(hvalue(t)); | ||
220 | setobj2t(L, cast(TValue *, oldval), val); | 221 | setobj2t(L, cast(TValue *, oldval), val); |
221 | return; | 222 | return; |
222 | } | 223 | } |