/* check whether, in an assignment to a local variable, the local variable is needed in a previous assignment (to a table). If so, save original local value in a safe place and use this safe copy in the previous assignment.  */
static void check_conflict(LexState *ls, struct LHS_assign *lh, expdesc *v)
/* check whether, in an assignment to a local variable, the local variable is needed in a previous assignment (to a table). If so, save original local value in a safe place and use this safe copy in the previous assignment.  */
static void check_conflict(LexState *ls, struct LHS_assign *lh, expdesc *v)
{
    if (lh->v.k == VINDEXED) {
      if (lh->v.u.s.info == v->u.s.info) {
        conflict = 1;
        lh->v.u.s.info = extra;
      }
      if (lh->v.u.s.aux == v->u.s.info) {
        conflict = 1;
        lh->v.u.s.aux = extra;
      }
    }
  }
  if (conflict) {
    luaK_codeABC(fs, OP_MOVE, fs->freereg, v->u.s.info, 0);
    luaK_reserveregs(fs, 1);
  }
}