diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-16 11:45:55 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-16 11:45:55 -0300 |
commit | da19c436cc361401563eeda2cca3d161a6ddeef7 (patch) | |
tree | 9d2d7e3f6c00d88dc659d123c79d4157ffd36ffb /ltable.c | |
parent | 0039feb9dae27e25c0c719f49d954741fb2babf3 (diff) | |
download | lua-da19c436cc361401563eeda2cca3d161a6ddeef7.tar.gz lua-da19c436cc361401563eeda2cca3d161a6ddeef7.tar.bz2 lua-da19c436cc361401563eeda2cca3d161a6ddeef7.zip |
cleaning the stage for generational collection
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 1.115 2002/08/05 14:45:32 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.116 2002/08/06 17:06:56 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -307,8 +307,8 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) { | |||
307 | t->metatable = hvalue(defaultmeta(L)); | 307 | t->metatable = hvalue(defaultmeta(L)); |
308 | t->next = G(L)->roottable; | 308 | t->next = G(L)->roottable; |
309 | G(L)->roottable = t; | 309 | G(L)->roottable = t; |
310 | t->mark = t; | ||
311 | t->flags = cast(lu_byte, ~0); | 310 | t->flags = cast(lu_byte, ~0); |
311 | t->marked = 0; | ||
312 | t->mode = 0; | 312 | t->mode = 0; |
313 | /* temporary values (kept only if some malloc fails) */ | 313 | /* temporary values (kept only if some malloc fails) */ |
314 | t->array = NULL; | 314 | t->array = NULL; |