commit 4b12eff8017f5e005a483f8097cdd64e9723a514
parent 271e05917f7782db2301e04923423b00994c75db
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Tue, 24 Aug 2004 17:08:49 -0300
small correction (less conservative write barrier for tables)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lcode.c b/lcode.c
@@ -1,5 +1,5 @@
/*
-** $Id: lcode.c,v 2.4 2004/06/29 18:49:02 roberto Exp roberto $
+** $Id: lcode.c,v 2.5 2004/07/16 13:30:53 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -223,7 +223,7 @@ static int addk (FuncState *fs, TValue *k, TValue *v) {
MAXARG_Bx, "constant table overflow");
while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]);
setobj(L, &f->k[fs->nk], v);
- luaC_barrier(L, f, v);
+ luaC_barriert(L, f, v);
return fs->nk++;
}
}