mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-11 12:29:46 +00:00
Better logging when shortening jumps
This commit is contained in:
parent
5281b5f527
commit
7fc8678eec
@ -65,6 +65,7 @@ object JumpShortening {
|
|||||||
if (bra != JMP) {
|
if (bra != JMP) {
|
||||||
val result = line.copy(opcode = bra, addrMode = AddrMode.Relative)
|
val result = line.copy(opcode = bra, addrMode = AddrMode.Relative)
|
||||||
ErrorReporting.debug("Changing branch from long to short")
|
ErrorReporting.debug("Changing branch from long to short")
|
||||||
|
ErrorReporting.trace(info.statusBefore.toString)
|
||||||
ErrorReporting.trace(line.toString)
|
ErrorReporting.trace(line.toString)
|
||||||
ErrorReporting.trace(" ↓")
|
ErrorReporting.trace(" ↓")
|
||||||
ErrorReporting.trace(result.toString)
|
ErrorReporting.trace(result.toString)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user