mirror of https://github.com/m-labs/artiq.git
analyses.domination: all blocks dominate themselves.
This commit is contained in:
parent
c0bcff4035
commit
5f0e2bf9f9
|
@ -81,6 +81,7 @@ class GenericDominatorTree:
|
||||||
return
|
return
|
||||||
|
|
||||||
block_name = self._name_of_block[block]
|
block_name = self._name_of_block[block]
|
||||||
|
yield self._block_of_name[block_name]
|
||||||
while block_name != self._doms[block_name]:
|
while block_name != self._doms[block_name]:
|
||||||
block_name = self._doms[block_name]
|
block_name = self._doms[block_name]
|
||||||
yield self._block_of_name[block_name]
|
yield self._block_of_name[block_name]
|
||||||
|
|
Loading…
Reference in New Issue