diff options
author | Richard Stallman <rms@gnu.org> | 1992-05-04 14:04:43 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-05-04 14:04:43 +0000 |
commit | cc30cc14b862bf8e99ea927b905b1c44178ea55d (patch) | |
tree | bce9c6752d413367ed10b259a0bb649965d72dcc /gcc | |
parent | 7bffb68a04b76af896b7f476c34345703f40e9f0 (diff) | |
download | gcc-cc30cc14b862bf8e99ea927b905b1c44178ea55d.zip gcc-cc30cc14b862bf8e99ea927b905b1c44178ea55d.tar.gz gcc-cc30cc14b862bf8e99ea927b905b1c44178ea55d.tar.bz2 |
entered into RCS
From-SVN: r885
Diffstat (limited to 'gcc')
-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 afb7e7a..81a92b9 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"); } |