aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-08-09 17:58:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-08-09 17:58:29 -0300
commit92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8 (patch)
tree8e360f9491a5d547a8be1aaddce780adb9fcea6b /lvm.c
parentb5bf7d9ef414ce05da8523b966d94252c32a4010 (diff)
downloadlua-92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8.tar.gz
lua-92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8.tar.bz2
lua-92afcf2823e5dfbe9bb10b0ed62306b6015fcfb8.zip
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
to be set.
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 5afb26d2..680b1055 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.140 2011/06/02 19:31:40 roberto Exp roberto $ 2** $Id: lvm.c,v 2.141 2011/06/09 18:24:22 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*/
@@ -808,7 +808,7 @@ void luaV_execute (lua_State *L) {
808 luaH_resizearray(L, h, last); /* pre-allocate it at once */ 808 luaH_resizearray(L, h, last); /* pre-allocate it at once */
809 for (; n > 0; n--) { 809 for (; n > 0; n--) {
810 TValue *val = ra+n; 810 TValue *val = ra+n;
811 setobj2t(L, luaH_setint(L, h, last--), val); 811 luaH_setint(L, h, last--, val);
812 luaC_barrierback(L, obj2gco(h), val); 812 luaC_barrierback(L, obj2gco(h), val);
813 } 813 }
814 L->top = ci->top; /* correct top (in case of previous open call) */ 814 L->top = ci->top; /* correct top (in case of previous open call) */