mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-06 09:33:22 +00:00
Z80: Fix optimizations near stack variables
This commit is contained in:
parent
4b25ce2d8c
commit
adc93aeb74
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user