Make dominator trees work in 2.8