function luaK.patchlistaux(T,E,e,Z,B,J)while e~=T.NO_JUMP do local H=T:getjump(E,e)if T:patchtestreg(E,e,B)then T:fixjump(E,e,Z)else T:fixjump(E,e,J)end e=H end end
------------------------------------------------------------------------
--
-- * used in luaK:dischargejpc(), luaK:patchlist(), luaK:exp2reg()
------------------------------------------------------------------------
function luaK:patchlistaux(fs, list, vtarget, reg, dtarget)
	while list ~= self.NO_JUMP do
		local _next = self:getjump(fs, list)
		if self:patchtestreg(fs, list, reg) then
			self:fixjump(fs, list, vtarget)
		else
			self:fixjump(fs, list, dtarget) -- jump to default target
		end
		list = _next
	end
end
