diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-05-04 14:04:43 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-05-04 14:04:43 +0000 |
commit | 2424fe16c9ddeab8b24847653a70304cacb82f13 (patch) | |
tree | bce9c6752d413367ed10b259a0bb649965d72dcc /gcc/genextract.c | |
parent | 88290c9745932c6893c0f0e178c6059080d64067 (diff) | |
download | gcc-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.c | 11 |
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"); } |