analyses.domination: all blocks dominate themselves.

This commit is contained in:
whitequark 2016-01-18 21:33:14 +00:00
parent c0bcff4035
commit 5f0e2bf9f9
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class GenericDominatorTree:
return
block_name = self._name_of_block[block]
yield self._block_of_name[block_name]
while block_name != self._doms[block_name]:
block_name = self._doms[block_name]
yield self._block_of_name[block_name]