1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@1561 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-11-21 21:10:10 +00:00
parent 42463beaee
commit f205950f54

View File

@ -221,6 +221,7 @@ unsigned OptSize1 (CodeSeg* S)
if ((D->A < 0 || D->A == E->RI->In.RegA) &&
(D->X < 0 || D->X == E->RI->In.RegX) &&
(D->Y < 0 || D->Y == E->RI->In.RegY)) {
/* Ok, match for all registers */
CodeEntry* X;
X = NewCodeEntry (E->OPC, E->AM, D->ShortFunc, 0, E->LI);
@ -229,6 +230,9 @@ unsigned OptSize1 (CodeSeg* S)
/* Remember that we had changes */
++Changes;
/* Done */
break;
}
/* Next table entry, bail out if next entry not valid */