mirror of
https://github.com/cc65/cc65.git
synced 2024-12-28 22:30:12 +00:00
Corrected check in OptTransfers2 for register usage. Fixed Issue 992.
This commit is contained in:
parent
f68cc06ec7
commit
5b11eb4bb9
@ -1471,7 +1471,7 @@ unsigned OptTransfers2 (CodeSeg* S)
|
||||
(N = CS_GetNextEntry (S, I)) != 0 &&
|
||||
!CE_HasLabel (N) &&
|
||||
(N->Info & OF_XFR) != 0 &&
|
||||
GetRegInfo (S, I+2, E->Chg) != E->Chg) {
|
||||
(GetRegInfo (S, I+2, E->Chg) & E->Chg) == 0) {
|
||||
|
||||
CodeEntry* X = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user