1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@819 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-07-25 16:15:47 +00:00
parent cd358107d3
commit c2e45ea24d

View File

@ -833,6 +833,7 @@ unsigned OptStoreLoad (CodeSeg* S)
*/ */
if ((E->Info & OF_STORE) != 0 && if ((E->Info & OF_STORE) != 0 &&
(N = CS_GetNextEntry (S, I)) != 0 && (N = CS_GetNextEntry (S, I)) != 0 &&
!CE_HasLabel (N) &&
(N->Info & OF_LOAD) != 0 && (N->Info & OF_LOAD) != 0 &&
strcmp (E->Arg, N->Arg) == 0 && strcmp (E->Arg, N->Arg) == 0 &&
(X = CS_GetNextEntry (S, I+1)) != 0 && (X = CS_GetNextEntry (S, I+1)) != 0 &&