From: uz Date: Sat, 29 Aug 2009 10:54:59 +0000 (+0000) Subject: Just comment and formatting changes. X-Git-Tag: V2.13.0rc1~187 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53372ae1c147fd7e36423cc36b34266056839353;p=cc65 Just comment and formatting changes. git-svn-id: svn://svn.cc65.org/cc65/trunk@4069 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/coptind.c b/src/cc65/coptind.c index 7eba6c598..6746e0613 100644 --- a/src/cc65/coptind.c +++ b/src/cc65/coptind.c @@ -769,7 +769,7 @@ unsigned OptCondBranches1 (CodeSeg* S) } if ((E->Info & OF_CBRA) != 0 && /* It's a conditional branch */ - (L = E->JumpTo) != 0 && /* ..referencing a local label */ + (L = E->JumpTo) != 0 && /* ..referencing a local label */ (N = CS_GetNextEntry (S, I)) != 0 && /* There is a following entry */ (N->Info & OF_UBRA) != 0 && /* ..which is an uncond branch, */ !CE_HasLabel (N) && /* ..has no label attached */ @@ -801,7 +801,7 @@ unsigned OptCondBranches1 (CodeSeg* S) unsigned OptCondBranches2 (CodeSeg* S) /* If on entry to a "rol a" instruction the accu is zero, and a beq/bne follows, - * we can remove the rol and branch on the state of the carry. + * we can remove the rol and branch on the state of the carry flag. */ { unsigned Changes = 0; @@ -839,12 +839,10 @@ unsigned OptCondBranches2 (CodeSeg* S) /* Remember, we had changes */ ++Changes; - } /* Next entry */ ++I; - } /* Free register info */ @@ -1944,7 +1942,7 @@ unsigned OptPrecalc (CodeSeg* S) /*****************************************************************************/ - + unsigned OptBranchDist (CodeSeg* S) /* Change branches for the distance needed. */ {