function luaK.codearith(h,I,b,V,p)if h:constfolding(b,V,p)then return else local t=(b~="\079\080\095\085\078\077"and b~="\079\080\095\076\069\078")and h:exp2RK(I,p)or 0 local i=h:exp2RK(I,V)if i>t then h:freeexp(I,V)h:freeexp(I,p)else h:freeexp(I,p)h:freeexp(I,V)end V.info=h:codeABC(I,b,0,i,t)V.k="\086\082\069\076\079\067\065\066\076\069"end end
------------------------------------------------------------------------
--
-- * used in luaK:prefix(), luaK:posfix()
------------------------------------------------------------------------
function luaK:codearith(fs, op, e1, e2)
	if self:constfolding(op, e1, e2) then
		return
	else
		local o2 = (op ~= "OP_UNM" and op ~= "OP_LEN") and self:exp2RK(fs, e2) or 0
		local o1 = self:exp2RK(fs, e1)
		if o1 > o2 then
			self:freeexp(fs, e1)
			self:freeexp(fs, e2)
		else
			self:freeexp(fs, e2)
			self:freeexp(fs, e1)
		end
		e1.info = self:codeABC(fs, op, 0, o1, o2)
		e1.k = "VRELOCABLE"
	end
end
