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:
@@ -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
|
||||||
|
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user