1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-10-30 21:30:52 +00:00

Small optimization bugfix

This commit is contained in:
Karol Stasiak 2018-03-07 16:22:28 +01:00
parent 1d865302ca
commit 34b827df38

View File

@ -182,15 +182,15 @@ object AlwaysGoodOptimizations {
needsFlowInfo = FlowInfoRequirement.ForwardFlow, needsFlowInfo = FlowInfoRequirement.ForwardFlow,
pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STA, LDA, STA), pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STA, LDA, STA),
pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STX, LDA, STA), pointlessNonimmediateStoreToTheSameVariable(Set(LDX, LAX), STX, LDA, STA),
pointlessNonimmediateStoreToTheSameVariable(Set(LDY), STY, LDA, STA), pointlessNonimmediateStoreToTheSameVariable(Set(LDY), STY, LDA, STA),
pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STA, LDX, STX), pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STA, LDX, STX),
pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STX, LDX, STX), pointlessNonimmediateStoreToTheSameVariable(Set(LDX, LAX), STX, LDX, STX),
pointlessNonimmediateStoreToTheSameVariable(Set(LDY), STY, LDX, STX), pointlessNonimmediateStoreToTheSameVariable(Set(LDY), STY, LDX, STX),
pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STA, LDY, STY), pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STA, LDY, STY),
pointlessNonimmediateStoreToTheSameVariable(Set(LDA, LAX), STX, LDY, STY), pointlessNonimmediateStoreToTheSameVariable(Set(LDX, LAX), STX, LDY, STY),
pointlessNonimmediateStoreToTheSameVariable(Set(LDY), STY, LDY, STY), pointlessNonimmediateStoreToTheSameVariable(Set(LDY), STY, LDY, STY),
pointlessImmediateStoreToTheSameVariable(MatchA(0), STA, MatchA(0), STA), pointlessImmediateStoreToTheSameVariable(MatchA(0), STA, MatchA(0), STA),