From 1bf4faec64aca03e1036235e72675f0617124140 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Aug 2013 16:14:26 -0300 Subject: new GC state to sweep 'localgc' list + small changes in sweep control --- ltests.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index aa247aa6..ec7631e7 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.150 2013/08/27 18:53:35 roberto Exp roberto $ +** $Id: ltests.c,v 2.151 2013/08/27 20:04:00 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -653,7 +653,8 @@ static int gc_local (lua_State *L) { static int gc_state (lua_State *L) { static const char *statenames[] = {"propagate", "atomic", - "sweepudata", "sweep", "pause", ""}; + "sweeplocal", "sweepfin", "sweepall", "sweepmainth", + "pause", ""}; int option = luaL_checkoption(L, 1, "", statenames); if (option == GCSpause + 1) { lua_pushstring(L, statenames[G(L)->gcstate]); -- cgit v1.2.3-55-g6feb