From: cuz Date: Fri, 9 Dec 2005 22:27:14 +0000 (+0000) Subject: Fixed the latest bugfix X-Git-Tag: V2.12.0~171 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d66b55b9dde67452f12cbac5660599f3a6920a1;p=cc65 Fixed the latest bugfix git-svn-id: svn://svn.cc65.org/cc65/trunk@3682 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/coptadd.c b/src/cc65/coptadd.c index e589e02ab..0315022f8 100644 --- a/src/cc65/coptadd.c +++ b/src/cc65/coptadd.c @@ -316,7 +316,7 @@ unsigned OptAdd3 (CodeSeg* S) /* Check for the sequence */ if (CE_IsCallTo (L[0], "pushax") && - CS_GetEntries (S, L+1, I+1, 5) && + CS_GetEntries (S, L+1, I+1, 4) && !CS_RangeHasLabel (S, I+1, 3) && L[1]->OPC == OP65_LDX && CE_IsKnownImm (L[1], 0) &&