diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-05 13:58:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-05 13:58:28 -0300 |
commit | 677d90165ffef728231340c6328e9661824dbc34 (patch) | |
tree | 3338e6f1b0c2f82db84def5751ea418a58fbc31a /lstring.c | |
parent | 4244da96bfcf205624487b99b69e9d8dd1857293 (diff) | |
download | lua-677d90165ffef728231340c6328e9661824dbc34.tar.gz lua-677d90165ffef728231340c6328e9661824dbc34.tar.bz2 lua-677d90165ffef728231340c6328e9661824dbc34.zip |
no more generational collection !!!
Diffstat (limited to 'lstring.c')
-rw-r--r-- | lstring.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstring.c,v 2.26 2013/01/08 13:50:10 roberto Exp roberto $ | 2 | ** $Id: lstring.c,v 2.27 2013/06/19 14:27:00 roberto Exp roberto $ |
3 | ** String table (keeps all strings handled by Lua) | 3 | ** String table (keeps all strings handled by Lua) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -79,7 +79,6 @@ void luaS_resize (lua_State *L, int newsize) { | |||
79 | unsigned int h = lmod(gco2ts(p)->hash, newsize); /* new position */ | 79 | unsigned int h = lmod(gco2ts(p)->hash, newsize); /* new position */ |
80 | gch(p)->next = tb->hash[h]; /* chain it */ | 80 | gch(p)->next = tb->hash[h]; /* chain it */ |
81 | tb->hash[h] = p; | 81 | tb->hash[h] = p; |
82 | resetoldbit(p); /* see MOVE OLD rule */ | ||
83 | p = next; | 82 | p = next; |
84 | } | 83 | } |
85 | } | 84 | } |