function luaK.exp2anyreg(a,Y,Q)a:dischargevars(Y,Q)if Q.k=="\086\078\079\078\082\069\076\079\067"then if not a:hasjumps(Q)then return Q.info end if Q.info>=Y.nactvar then a:exp2reg(Y,Q,Q.info)return Q.info end end a:exp2nextreg(Y,Q)return Q.info end

function luaK:exp2anyreg(fs, e)
  self:dischargevars(fs, e)
  if e.k == "VNONRELOC" then
    if not self:hasjumps(e) then  -- exp is already in a register
      return e.info
    end
    if e.info >= fs.nactvar then  -- reg. is not a local?
      self:exp2reg(fs, e, e.info)  -- put value on it
      return e.info
    end
  end
  self:exp2nextreg(fs, e)  -- default
  return e.info
end
