function luaK.setreturns(V,r,X,v)if X.k=="\086\067\065\076\076"then luaP:SETARG_C(V:getcode(r,X),v+1)elseif X.k=="\086\086\065\082\065\082\071"then luaP:SETARG_B(V:getcode(r,X),v+1)luaP:SETARG_A(V:getcode(r,X),r.freereg)luaK:reserveregs(r,1)end end
------------------------------------------------------------------------
--
-- * used in luaK:setmultret(), (lparser) luaY:adjust_assign()
------------------------------------------------------------------------
function luaK:setreturns(fs, e, nresults)
	if e.k == "VCALL" then -- expression is an open function call?
		luaP:SETARG_C(self:getcode(fs, e), nresults + 1)
	elseif e.k == "VVARARG" then
		luaP:SETARG_B(self:getcode(fs, e), nresults + 1)
		luaP:SETARG_A(self:getcode(fs, e), fs.freereg)
		luaK:reserveregs(fs, 1)
	end
end
