From 53372ae1c147fd7e36423cc36b34266056839353 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 29 Aug 2009 10:54:59 +0000 Subject: [PATCH] Just comment and formatting changes. git-svn-id: svn://svn.cc65.org/cc65/trunk@4069 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/coptind.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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. */ {