]> git.sur5r.net Git - cc65/blobdiff - src/cc65/codeseg.h
Make the -O and --codesize options stackable.
[cc65] / src / cc65 / codeseg.h
index cde8c4ff1c4fc53550dfd003805c7ea94e3e7903..100bb26046492f20cdb0bf70934a6d81aa1e6864 100644 (file)
@@ -79,8 +79,12 @@ struct CodeSeg {
     SymEntry*      Func;                       /* Owner function */
     Collection     Entries;                    /* List of code entries */
     Collection     Labels;                     /* Labels for next insn */
-    CodeLabel*             LabelHash [CS_LABEL_HASH_SIZE]; /* Label hash table */
+    CodeLabel*             LabelHash[CS_LABEL_HASH_SIZE]; /* Label hash table */
     unsigned short  ExitRegs;                  /* Register use on exit */
+
+    /* Optimization settings for this segment */
+    unsigned char   Optimize;                   /* On/off switch */
+    unsigned        CodeSizeFactor;
 };
 
 
@@ -287,7 +291,7 @@ void CS_GenRegInfo (CodeSeg* S);
 
 
 /* End of codeseg.h */
-#endif
+#endif