MCPcopy Index your code
hub / github.com/python/cpython / resolve

Method resolve

Tools/jit/_optimizers.py:147–152  ·  view source on GitHub ↗

Find the first non-empty block reachable from this one.

(self)

Source from the content-addressed store, hash-verified

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

Callers 7

_targets.pyFile · 0.45
_TargetClass · 0.45
_build_stencilsMethod · 0.45
build.pyFile · 0.45
_invert_hot_branchesMethod · 0.45
build.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected