summaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index c835647f..d4239f02 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.12 2005/03/16 16:59:21 roberto Exp roberto $ 2** $Id: lcode.c,v 2.13 2005/05/20 15:53:42 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -223,7 +223,7 @@ static int addk (FuncState *fs, TValue *k, TValue *v) {
223 MAXARG_Bx, "constant table overflow"); 223 MAXARG_Bx, "constant table overflow");
224 while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]); 224 while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]);
225 setobj(L, &f->k[fs->nk], v); 225 setobj(L, &f->k[fs->nk], v);
226 luaC_barriert(L, f, v); 226 luaC_barrier(L, f, v);
227 return fs->nk++; 227 return fs->nk++;
228 } 228 }
229} 229}