diff options
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.c,v 2.4 2004/06/29 18:49:02 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.5 2004/07/16 13:30:53 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_barrier(L, f, v); | 226 | luaC_barriert(L, f, v); |
227 | return fs->nk++; | 227 | return fs->nk++; |
228 | } | 228 | } |
229 | } | 229 | } |