diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-06-12 11:21:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-06-12 11:21:44 -0300 |
commit | 73ec04fcf3e3f7017786fbaf0a83291b22bec5c4 (patch) | |
tree | b2870a1e832fa3e013b67209592db32b611f8e5f /ltests.c | |
parent | d13a3fb070fd0ec9ec3b85f88e0fcd914aa666d3 (diff) | |
download | lua-73ec04fcf3e3f7017786fbaf0a83291b22bec5c4.tar.gz lua-73ec04fcf3e3f7017786fbaf0a83291b22bec5c4.tar.bz2 lua-73ec04fcf3e3f7017786fbaf0a83291b22bec5c4.zip |
no more 'DEADKEY'. Table traversals do not need to consider dead keys;
if the key is dead, it cannot be given to 'next'. Instead, we now
use a 'table' tag without the collectable bit, which makes it
a unique tag good enough to reserve space.
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.218 2017/05/31 18:54:58 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.219 2017/06/09 16:48:44 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -449,7 +449,6 @@ static void markgrays (global_State *g) { | |||
449 | checkgraylist(g, g->grayagain); | 449 | checkgraylist(g, g->grayagain); |
450 | checkgraylist(g, g->weak); | 450 | checkgraylist(g, g->weak); |
451 | checkgraylist(g, g->ephemeron); | 451 | checkgraylist(g, g->ephemeron); |
452 | checkgraylist(g, g->allweak); | ||
453 | checkgraylist(g, g->protogray); | 452 | checkgraylist(g, g->protogray); |
454 | } | 453 | } |
455 | 454 | ||