]> git.sur5r.net Git - cc65/blobdiff - src/cc65/codeinfo.h
More optimizations
[cc65] / src / cc65 / codeinfo.h
index 7e4eddf983c99c699093e92bc8862fe3f6d0c4bd..4e0b16887e603c4e9c75d4baca8281d0bea6b18b 100644 (file)
@@ -154,6 +154,9 @@ int RegYUsed (struct CodeSeg* S, unsigned Index);
 int RegAXUsed (struct CodeSeg* S, unsigned Index);
 /* Check if the value in A or(!) the value in X are used. */
 
+int RegEAXUsed (struct CodeSeg* S, unsigned Index);
+/* Check if any of the four bytes in EAX are used. */
+
 unsigned GetKnownReg (unsigned Use, const struct RegContents* RC);
 /* Return the register or zero page location from the set in Use, thats
  * contents are known. If Use does not contain any register, or if the