aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-07-24 11:28:15 -0700
committerRichard Henderson <rth@gcc.gnu.org>2012-07-24 11:28:15 -0700
commitcd1440b199ae8476f1b6df884e86fa07388e1f80 (patch)
tree7a5f81d480a16d01d04ed37f989cde0c027bbf45 /gcc/rtl.h
parent658e8ebaac1aff81586940d4ca1661e0ab3c5f91 (diff)
downloadgcc-cd1440b199ae8476f1b6df884e86fa07388e1f80.zip
gcc-cd1440b199ae8476f1b6df884e86fa07388e1f80.tar.gz
gcc-cd1440b199ae8476f1b6df884e86fa07388e1f80.tar.bz2
Reduce the size of optabs representation
From-SVN: r189821
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 1b13659..f942c59 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -55,8 +55,13 @@ enum rtx_code {
NUM_RTX_CODE.
Assumes default enum value assignment. */
+/* The cast here, saves many elsewhere. */
#define NUM_RTX_CODE ((int) LAST_AND_UNUSED_RTX_CODE)
- /* The cast here, saves many elsewhere. */
+
+/* Similar, but since generator files get more entries... */
+#ifdef GENERATOR_FILE
+# define NON_GENERATOR_NUM_RTX_CODE ((int) MATCH_OPERAND)
+#endif
/* Register Transfer Language EXPRESSIONS CODE CLASSES */