We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe5eb9 commit be80179Copy full SHA for be80179
Tools/jit/_optimizers.py
@@ -475,7 +475,7 @@ def _fixup_external_labels(self) -> None:
475
for index, block in enumerate(self._blocks()):
476
if block.target and block.fallthrough:
477
branch = block.instructions[-1]
478
- assert branch.is_branch()
+ assert branch.is_branch() or branch.kind == InstructionKind.CALL
479
target = branch.target
480
assert target is not None
481
reloc = self._branches[branch.name][1]
0 commit comments