aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lvm.c b/lvm.c
index 5ebeb30d..cba196b0 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.178 2013/08/19 14:18:43 roberto Exp roberto $ 2** $Id: lvm.c,v 2.179 2013/08/27 18:53:35 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*/
@@ -145,7 +145,7 @@ void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) {
145 /* no metamethod and (now) there is an entry with given key */ 145 /* no metamethod and (now) there is an entry with given key */
146 setobj2t(L, oldval, val); /* assign new value to that entry */ 146 setobj2t(L, oldval, val); /* assign new value to that entry */
147 invalidateTMcache(h); 147 invalidateTMcache(h);
148 luaC_barrierback(L, obj2gco(h), val); 148 luaC_barrierback(L, h, val);
149 return; 149 return;
150 } 150 }
151 /* else will try the metamethod */ 151 /* else will try the metamethod */
@@ -914,7 +914,7 @@ void luaV_execute (lua_State *L) {
914 for (; n > 0; n--) { 914 for (; n > 0; n--) {
915 TValue *val = ra+n; 915 TValue *val = ra+n;
916 luaH_setint(L, h, last--, val); 916 luaH_setint(L, h, last--, val);
917 luaC_barrierback(L, obj2gco(h), val); 917 luaC_barrierback(L, h, val);
918 } 918 }
919 L->top = ci->top; /* correct top (in case of previous open call) */ 919 L->top = ci->top; /* correct top (in case of previous open call) */
920 ) 920 )