]> git.sur5r.net Git - cc65/blobdiff - src/cc65/coptcmp.c
Added classification macros for file types from struct dirent.
[cc65] / src / cc65 / coptcmp.c
index 71dbfc6246da58ba4065259c774a44adc4ebd1df..b99c1a69a48c544d0829ad63f83351bca560ba52 100644 (file)
@@ -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;
 }