1
0
mirror of https://github.com/KarolS/millfork.git synced 2025-01-16 16:31:04 +00:00

6502: correctly optimize code before BIT instructions

This commit is contained in:
Karol Stasiak 2020-03-29 01:45:02 +01:00
parent dfe33c9b7a
commit 5dd3e91c2d

View File

@ -105,7 +105,7 @@ object ReverseFlowAnalyzerPerOpcode {
}),
BIT -> (currentImportance => {
currentImportance.copy(
a = currentImportance.z,
a = currentImportance.a ~ currentImportance.z,
n = Unimportant,
z = Unimportant,
v = Unimportant,