aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-07-24 18:28:15 +0000
committerRichard Henderson <rth@redhat.com>2012-07-24 18:28:15 +0000
commitfe2639199db4e46a1b92e8c5eda593c27c8c1855 (patch)
tree7a5f81d480a16d01d04ed37f989cde0c027bbf45 /gcc/rtl.h
parentc0bf139d1a8b5c0cc0a63d3a427014fc8d05f445 (diff)
Reduce the size of optabs representation
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189821 138bc75d-0d04-0410-961f-82ee72b054a4
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 1b136597452..f942c5903b7 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 */