Find the first non-empty block reachable from this one.
(self)
| 145 | hot: bool = False |
| 146 | |
| 147 | def resolve(self) -> typing.Self: |
| 148 | """Find the first non-empty block reachable from this one.""" |
| 149 | block = self |
| 150 | while block.link and not block.instructions: |
| 151 | block = block.link |
| 152 | return block |
| 153 | |
| 154 | |
| 155 | @dataclasses.dataclass |
no outgoing calls
no test coverage detected