summaryrefslogtreecommitdiff
path: root/gcc/recog.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-02-05 04:56:11 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-02-05 04:56:11 +0000
commit706b0f603fdb637e1a88e9bbeda1645caa1089c5 (patch)
treeb63a94b017b8ea34130c545a603c44169fe90865 /gcc/recog.h
parentc05d48e668eada22675b4fda6efc00431e570e5b (diff)
downloadgcc-706b0f603fdb637e1a88e9bbeda1645caa1089c5.tar.gz
recog.h: Remove NO_MD_PROTOTYPES ifdefs.
* recog.h: Remove NO_MD_PROTOTYPES ifdefs. * genflags.c: Use the max_operand_1 logic from genemit.c to calculate how many arguments gen_insn prototypes have. Remove NO_MD_PROTOTYPES ifdefs from the generated file. * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated file. Cast gen_insn initializers to insn_gen_fn. * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES. * gcc.texi: Remove documentation of NO_MD_PROTOTYPES. From-SVN: r31801
Diffstat (limited to 'gcc/recog.h')
-rw-r--r--gcc/recog.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/recog.h b/gcc/recog.h
index a19e6a636a3..d9ca87a6311 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -190,11 +190,7 @@ extern struct operand_alternative recog_op_alt[MAX_RECOG_OPERANDS][MAX_RECOG_ALT
typedef int (*insn_operand_predicate_fn) PARAMS ((rtx, enum machine_mode));
typedef const char * (*insn_output_fn) PARAMS ((rtx *, rtx));
-#ifndef NO_MD_PROTOTYPES
typedef rtx (*insn_gen_fn) PARAMS ((rtx, ...));
-#else
-typedef rtx (*insn_gen_fn) ();
-#endif
struct insn_operand_data
{