A vote on the legislation will be held in the Dáil on Wednesday evening.