summaryrefslogtreecommitdiff
path: root/gcc/genextract.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-04 14:04:43 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-04 14:04:43 +0000
commit2424fe16c9ddeab8b24847653a70304cacb82f13 (patch)
treebce9c6752d413367ed10b259a0bb649965d72dcc /gcc/genextract.c
parent88290c9745932c6893c0f0e178c6059080d64067 (diff)
downloadgcc-2424fe16c9ddeab8b24847653a70304cacb82f13.tar.gz
entered into RCS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@885 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r--gcc/genextract.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c
index afb7e7ab9eb..81a92b9e0dc 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -306,7 +306,7 @@ print_path (path)
abort ();
}
- printf ("insn");
+ printf ("pat");
for (i = 0; i < len; i++)
{
@@ -436,9 +436,8 @@ from the machine description file `md'. */\n\n");
printf ("{\n");
printf (" register rtx *ro = recog_operand;\n");
printf (" register rtx **ro_loc = recog_operand_loc;\n");
- printf (" int insn_code = INSN_CODE (insn);\n");
- printf (" insn = PATTERN (insn);\n");
- printf (" switch (insn_code)\n");
+ printf (" rtx pat = PATTERN (insn);\n");
+ printf (" switch (INSN_CODE (insn))\n");
printf (" {\n");
printf (" case -1:\n");
printf (" fatal_insn_not_found (insn);\n\n");
@@ -488,8 +487,8 @@ from the machine description file `md'. */\n\n");
printf ("#if __GNUC__ > 1 && !defined (bcopy)\n");
printf ("#define bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)\n");
printf ("#endif\n");
- printf (" bcopy (&XVECEXP (insn, 0, 0), ro,\n");
- printf (" sizeof (rtx) * XVECLEN (insn, 0));\n");
+ printf (" bcopy (&XVECEXP (pat, 0, 0), ro,\n");
+ printf (" sizeof (rtx) * XVECLEN (pat, 0));\n");
printf (" break;\n\n");
}