DominatorTree.getNode can return null for unreachable blocks.