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.
This commit is contained in:
Roberto Ierusalimschy
2017-06-12 11:21:44 -03:00
parent d13a3fb070
commit 73ec04fcf3
5 changed files with 49 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.c,v 2.218 2017/05/31 18:54:58 roberto Exp roberto $
** $Id: ltests.c,v 2.219 2017/06/09 16:48:44 roberto Exp roberto $
** Internal Module for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -449,7 +449,6 @@ static void markgrays (global_State *g) {
checkgraylist(g, g->grayagain);
checkgraylist(g, g->weak);
checkgraylist(g, g->ephemeron);
checkgraylist(g, g->allweak);
checkgraylist(g, g->protogray);
}