/* Traverse a Lua closure, marking its prototype and its upvalues. (Both can be NULL while closure is being created.)  */
static int traverseLclosure(global_State *g, LClosure *cl)
/* Traverse a Lua closure, marking its prototype and its upvalues. (Both can be NULL while closure is being created.)  */
static int traverseLclosure(global_State *g, LClosure *cl)
{
    UpVal *uv = cl->upvals[i];
    markobjectN(g, uv);
  }
  return 1 + cl->nupvalues;
}