mirror of
https://github.com/KarolS/millfork.git
synced 2025-04-01 02:31:38 +00:00
Z80: Fix jump following
This commit is contained in:
parent
7a1abfba24
commit
6c8ee34a2e
@ -40,7 +40,7 @@ object JumpFollowing {
|
||||
ZLine(RET, cond, Constant.Zero)
|
||||
} else if (labelsToJumps.contains(label)) {
|
||||
options.log.debug(s"Optimizing ${jump.opcode} straight into a jump")
|
||||
ZLine.jump(labelsToJumps(label))
|
||||
ZLine.jump(labelsToJumps(label), cond)
|
||||
} else jump
|
||||
case x => x
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user