diff options
-rw-r--r-- | lapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -856,9 +856,9 @@ static void aux_rawset (lua_State *L, int idx, TValue *key, int n) { | |||
856 | t = gettable(L, idx); | 856 | t = gettable(L, idx); |
857 | slot = luaH_set(L, t, key); | 857 | slot = luaH_set(L, t, key); |
858 | setobj2t(L, slot, s2v(L->top - 1)); | 858 | setobj2t(L, slot, s2v(L->top - 1)); |
859 | L->top -= n; | ||
860 | invalidateTMcache(t); | 859 | invalidateTMcache(t); |
861 | luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); | 860 | luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); |
861 | L->top -= n; | ||
862 | lua_unlock(L); | 862 | lua_unlock(L); |
863 | } | 863 | } |
864 | 864 | ||