function luaK.storevar(F,m,U,b)local u=U.k if u=="\086\076\079\067\065\076"then F:freeexp(m,b)F:exp2reg(m,b,U.info)return elseif u=="\086\085\080\086\065\076"then local u=F:exp2anyreg(m,b)F:codeABC(m,"\079\080\095\083\069\084\085\080\086\065\076",u,U.info,0)elseif u=="\086\071\076\079\066\065\076"then local u=F:exp2anyreg(m,b)F:codeABx(m,"\079\080\095\083\069\084\071\076\079\066\065\076",u,U.info)elseif u=="\086\073\078\068\069\088\069\068"then local u=F:exp2RK(m,b)F:codeABC(m,"\079\080\095\083\069\084\084\065\066\076\069",U.info,U.aux,u)else assert(0)end F:freeexp(m,b)end
------------------------------------------------------------------------
--
-- * used in (lparser) luaY:assignment(), luaY:localfunc(), luaY:funcstat()
------------------------------------------------------------------------
function luaK:storevar(fs, var, ex)
	local k = var.k
	if k == "VLOCAL" then
		self:freeexp(fs, ex)
		self:exp2reg(fs, ex, var.info)
		return
	elseif k == "VUPVAL" then
		local e = self:exp2anyreg(fs, ex)
		self:codeABC(fs, "OP_SETUPVAL", e, var.info, 0)
	elseif k == "VGLOBAL" then
		local e = self:exp2anyreg(fs, ex)
		self:codeABx(fs, "OP_SETGLOBAL", e, var.info)
	elseif k == "VINDEXED" then
		local e = self:exp2RK(fs, ex)
		self:codeABC(fs, "OP_SETTABLE", var.info, var.aux, e)
	else
		assert(0) -- invalid var kind to store
	end
	self:freeexp(fs, ex)
end
