function luaY.check_conflict(X,y,w,s)local H=y.fs local K=H.freereg local c=false while w do if w.v.k=="\086\073\078\068\069\088\069\068"then if w.v.info==s.info then c=true w.v.info=K end if w.v.aux==s.info then c=true w.v.aux=K end end w=w.prev end if c then luaK:codeABC(H,"\079\080\095\077\079\086\069",H.freereg,s.info,0)luaK:reserveregs(H,1)end end

function luaY:check_conflict(ls, lh, v)
  local fs = ls.fs
  local extra = fs.freereg  -- eventual position to save local variable
  local conflict = false
  while lh do
    if lh.v.k == "VINDEXED" then
      if lh.v.info == v.info then  -- conflict?
        conflict = true
        lh.v.info = extra  -- previous assignment will use safe copy
      end
      if lh.v.aux == v.info then  -- conflict?
        conflict = true
        lh.v.aux = extra  -- previous assignment will use safe copy
      end
    end
    lh = lh.prev
  end
  if conflict then
    luaK:codeABC(fs, "OP_MOVE", fs.freereg, v.info, 0)  -- make copy
    luaK:reserveregs(fs, 1)
  end
end
