/* Search the upvalues of the function 'fs' for one with the given 'name'.  */
static int searchupvalue(FuncState *fs, TString *name)
/* Search the upvalues of the function 'fs' for one with the given 'name'.  */
static int searchupvalue(FuncState *fs, TString *name)
{
    if (eqstr(up[i].name, name)) return i;
  }
  return -1;
}