1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-16 18:29:31 +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.
* Z80: Fixed optimizations in functions using stack variables.
* Other fixes and improvements.
## 0.3.4

View File

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