From 12d4f3809feb679c3c595b8c95a9828e29cc688f Mon Sep 17 00:00:00 2001 From: zack Date: Tue, 24 Aug 2004 17:00:54 +0000 Subject: * 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 --- gcc/rtl.def | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/rtl.def') 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: -- cgit v1.2.1