summaryrefslogtreecommitdiff
path: root/gcc/rtl.def
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-24 17:00:54 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-24 17:00:54 +0000
commit12d4f3809feb679c3c595b8c95a9828e29cc688f (patch)
tree25a72c5706af8fe9245261c0d10cbcd0af32dacc /gcc/rtl.def
parentf477687a006ac5895a00892059c0975553f0a8b3 (diff)
downloadgcc-12d4f3809feb679c3c595b8c95a9828e29cc688f.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86499 138bc75d-0d04-0410-961f-82ee72b054a4
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 5038514e711..e45004d22ab 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: