Skip to content

Commit be80179

Browse files
try fix macos
1 parent bfe5eb9 commit be80179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/jit/_optimizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def _fixup_external_labels(self) -> None:
475475
for index, block in enumerate(self._blocks()):
476476
if block.target and block.fallthrough:
477477
branch = block.instructions[-1]
478-
assert branch.is_branch()
478+
assert branch.is_branch() or branch.kind == InstructionKind.CALL
479479
target = branch.target
480480
assert target is not None
481481
reloc = self._branches[branch.name][1]

0 commit comments

Comments
 (0)