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

Method _predecessors

Tools/jit/_optimizers.py:328–332  ·  view source on GitHub ↗
(self, block: _Block)

Source from the content-addressed store, hash-verified

326 return "\n".join(lines)
327
328 def _predecessors(self, block: _Block) -> typing.Generator[_Block, None, None]:
329 # This is inefficient, but it's never wrong:
330 for pre in self._blocks():
331 if pre.target is block or pre.fallthrough and pre.link is block:
332 yield pre
333
334 def _insert_continue_label(self) -> None:
335 # Find the block with the last instruction:

Callers 2

_mark_hot_blocksMethod · 0.95
_invert_hot_branchesMethod · 0.95

Calls 1

_blocksMethod · 0.95

Tested by

no test coverage detected