Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1010 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
0c09cc7242
commit
9c4b9f19dc
1 changed files with 9 additions and 6 deletions
|
@ -913,6 +913,9 @@ unsigned OptStoreLoad (CodeSeg* S)
|
|||
(N = CS_GetNextEntry (S, I)) != 0 &&
|
||||
!CE_HasLabel (N) &&
|
||||
(N->Info & OF_LOAD) != 0 &&
|
||||
((E->OPC == OP65_STA && N->OPC == OP65_LDA) ||
|
||||
(E->OPC == OP65_STX && N->OPC == OP65_LDX) ||
|
||||
(E->OPC == OP65_STY && N->OPC == OP65_LDY)) &&
|
||||
strcmp (E->Arg, N->Arg) == 0 &&
|
||||
(X = CS_GetNextEntry (S, I+1)) != 0 &&
|
||||
(X->Info & OF_FBRA) == 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue