mirror of
https://github.com/cc65/cc65.git
synced 2025-08-12 17:25:11 +00:00
Quick fix for the OptPushPop bug reported in Issue #337.
This commit is contained in:
@@ -1968,7 +1968,7 @@ unsigned OptPushPop (CodeSeg* S)
|
|||||||
/* Remember we had changes */
|
/* Remember we had changes */
|
||||||
++Changes;
|
++Changes;
|
||||||
|
|
||||||
} else if ((E->Info & OF_CBRA) == 0 &&
|
} else if (!CE_UseLoadFlags (E) &&
|
||||||
(!RegAUsed (S, I) || !ChgA)) {
|
(!RegAUsed (S, I) || !ChgA)) {
|
||||||
|
|
||||||
/* We can remove the PHA and PLA instructions */
|
/* We can remove the PHA and PLA instructions */
|
||||||
|
Reference in New Issue
Block a user