X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fcoptcmp.c;h=b99c1a69a48c544d0829ad63f83351bca560ba52;hb=7aefd9b4e7b67908b7b3c38b6003c7f1a8d3ee2d;hp=71dbfc6246da58ba4065259c774a44adc4ebd1df;hpb=cdc3afa6efa74527f1e2b1efb5c3ebb638d39f02;p=cc65 diff --git a/src/cc65/coptcmp.c b/src/cc65/coptcmp.c index 71dbfc624..b99c1a69a 100644 --- a/src/cc65/coptcmp.c +++ b/src/cc65/coptcmp.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2001-2009, Ullrich von Bassewitz */ +/* (C) 2001-2012, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -56,11 +56,6 @@ static const unsigned char CmpInvertTab [] = { CMP_ULE, CMP_ULT, CMP_UGE, CMP_UGT }; -/* Table to show which compares are signed (use the N flag) */ -static const char CmpSignedTab [] = { - 0, 0, 1, 1, 1, 1, 0, 0, 0, 0 -}; - /*****************************************************************************/ @@ -790,9 +785,6 @@ unsigned OptCmp8 (CodeSeg* S) unsigned Changes = 0; unsigned I; - /* Generate register info for this step */ - CS_GenRegInfo (S); - /* Walk over the entries */ I = 0; while (I < CS_GetEntryCount (S)) { @@ -889,9 +881,6 @@ NextEntry: } - /* Free register info */ - CS_FreeRegInfo (S); - /* Return the number of changes made */ return Changes; }