aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.def
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-08-24 17:00:54 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-08-24 17:00:54 +0000
commit9e995780d4d716b31b8c9da99b34d3eefe96a3b1 (patch)
tree25a72c5706af8fe9245261c0d10cbcd0af32dacc /gcc/rtl.def
parentde37af8c4e5327db905d6ef77b77a9f26765f392 (diff)
downloadgcc-9e995780d4d716b31b8c9da99b34d3eefe96a3b1.zip
gcc-9e995780d4d716b31b8c9da99b34d3eefe96a3b1.tar.gz
gcc-9e995780d4d716b31b8c9da99b34d3eefe96a3b1.tar.bz2
rtl.def: Wrap MD-only codes in #ifdef GENERATOR_FILE.
* rtl.def: Wrap MD-only codes in #ifdef GENERATOR_FILE. * gengtype.c: Don't include rtl.h. Define enum rtx_code and rtx_name, rtx_format arrays by direct reference to rtl.def, first undefining GENERATOR_FILE. Define enum insn_note and note_insn_name array by direct reference to insn-notes.def. (adjust_field_rtx_def): Remove local definition of rtx_name. Use symbolic names for insn notes. * Makefile.in (gengtype.o): Update dependencies. From-SVN: r86499
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r--gcc/rtl.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def
index 5038514..e45004d 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -685,6 +685,7 @@ DEF_RTL_EXPR(VAR_LOCATION, "var_location", "te", RTX_EXTRA)
/* All expressions from this point forward appear only in machine
descriptions. */
+#ifdef GENERATOR_FILE
/* Include a secondary machine-description file at this point. */
DEF_RTL_EXPR(INCLUDE, "include", "s", RTX_EXTRA)
@@ -1160,6 +1161,7 @@ DEF_RTL_EXPR (ATTR_FLAG, "attr_flag", "s", RTX_EXTRA)
true, the second operand will be used as the value of the conditional. */
DEF_RTL_EXPR(COND, "cond", "Ee", RTX_EXTRA)
+#endif /* GENERATOR_FILE */
/*
Local variables: