1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-23 23:30:22 +00:00

Better logging when shortening jumps

This commit is contained in:
Karol Stasiak 2018-06-12 23:34:16 +02:00
parent 5281b5f527
commit 7fc8678eec

View File

@ -65,6 +65,7 @@ object JumpShortening {
if (bra != JMP) {
val result = line.copy(opcode = bra, addrMode = AddrMode.Relative)
ErrorReporting.debug("Changing branch from long to short")
ErrorReporting.trace(info.statusBefore.toString)
ErrorReporting.trace(line.toString)
ErrorReporting.trace(" ↓")
ErrorReporting.trace(result.toString)