1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-08-08 18:25:03 +00:00

Z80: Fix optimizations near stack variables

This commit is contained in:
Karol Stasiak
2019-07-26 14:15:35 +02:00
parent 4b25ce2d8c
commit adc93aeb74
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,8 @@
* 6502: Fixed optimizations involving the zeropage pseudoregister. * 6502: Fixed optimizations involving the zeropage pseudoregister.
* Z80: Fixed optimizations in functions using stack variables.
* Other fixes and improvements. * Other fixes and improvements.
## 0.3.4 ## 0.3.4

View File

@@ -484,7 +484,7 @@ object ReverseFlowAnalyzer {
case ZLine0(LD_DESP, _, _) => case ZLine0(LD_DESP, _, _) =>
currentImportance = currentImportance.copy(d = Unimportant, e = Unimportant) currentImportance = currentImportance.copy(d = Unimportant, e = Unimportant)
case _ => case _ =>
currentImportance = finalImportance // TODO currentImportance = finalImportance.copy(memIx = currentImportance.memIx, memIy = currentImportance.memIy) // TODO
} }
} }
} }