2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

analyses.domination: all blocks dominate themselves.

This commit is contained in:
whitequark 2016-01-18 21:33:14 +00:00
parent c0bcff4035
commit 5f0e2bf9f9

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]