Commit 7b7bceeb by Richard Stallman

entered into RCS

From-SVN: r1063
parent eea62639
...@@ -35,8 +35,8 @@ extern void free (); ...@@ -35,8 +35,8 @@ extern void free ();
extern rtx read_rtx (); extern rtx read_rtx ();
/* flags to determine output of machine description dependent #define's. */ /* flags to determine output of machine description dependent #define's. */
static int max_recog_operands; static int max_recog_operands; /* Largest operand number seen. */
static int max_dup_operands; static int max_dup_operands; /* Largest number of match_dup in any insn. */
static int max_clobbers_per_insn; static int max_clobbers_per_insn;
static int register_constraint_flag; static int register_constraint_flag;
static int have_cc0_flag; static int have_cc0_flag;
...@@ -278,7 +278,7 @@ main (argc, argv) ...@@ -278,7 +278,7 @@ main (argc, argv)
from the machine description file `md'. */\n\n"); from the machine description file `md'. */\n\n");
/* Allow at least 10 operands for the sake of asm constructs. */ /* Allow at least 10 operands for the sake of asm constructs. */
max_recog_operands = 10; max_recog_operands = 9; /* We will add 1 later. */
max_dup_operands = 1; max_dup_operands = 1;
/* Read the machine description. */ /* Read the machine description. */
...@@ -301,7 +301,7 @@ from the machine description file `md'. */\n\n"); ...@@ -301,7 +301,7 @@ from the machine description file `md'. */\n\n");
gen_peephole (desc); gen_peephole (desc);
} }
printf ("\n#define MAX_RECOG_OPERANDS %d\n", max_recog_operands); printf ("\n#define MAX_RECOG_OPERANDS %d\n", max_recog_operands + 1);
printf ("\n#define MAX_DUP_OPERANDS %d\n", max_dup_operands); printf ("\n#define MAX_DUP_OPERANDS %d\n", max_dup_operands);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment