* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.

From-SVN: r62552
This commit is contained in:
Segher Boessenkool 2003-02-07 23:39:49 +01:00 committed by Richard Henderson
parent 46847aa6e7
commit a0f0e96302
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-02-07 Segher Boessenkool <segher@koffie.nl>
* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
2003-02-07 Roger Sayle <roger@eyesopen.com>
* builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.

View File

@ -419,7 +419,10 @@ output_get_insn_name ()
printf ("get_insn_name (code)\n");
printf (" int code;\n");
printf ("{\n");
printf (" return insn_data[code].name;\n");
printf (" if (code == NOOP_MOVE_INSN_CODE)\n");
printf (" return \"NOOP_MOVE\";\n");
printf (" else\n");
printf (" return insn_data[code].name;\n");
printf ("}\n");
}