aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-06-12 11:21:44 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-06-12 11:21:44 -0300
commit73ec04fcf3e3f7017786fbaf0a83291b22bec5c4 (patch)
treeb2870a1e832fa3e013b67209592db32b611f8e5f /ltests.c
parentd13a3fb070fd0ec9ec3b85f88e0fcd914aa666d3 (diff)
downloadlua-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index a9c93132..733e47d4 100644
--- a/ltests.c
+++ b/ltests.c
@@ -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