Skip to content

Commit f603077

Browse files
fix macos again
1 parent 7fad18f commit f603077

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tools/jit/_optimizers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,9 @@ 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() or branch.kind == InstructionKind.CALL
478+
if branch.kind == InstructionKind.CALL:
479+
continue
480+
assert branch.is_branch()
479481
target = branch.target
480482
assert target is not None
481483
reloc = self._branches[branch.name][1]

0 commit comments

Comments
 (0)