Commit a0f0e963 by Segher Boessenkool Committed by Richard Henderson

* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.

From-SVN: r62552
parent 46847aa6
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> 2003-02-07 Roger Sayle <roger@eyesopen.com>
* builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type. * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
......
...@@ -419,7 +419,10 @@ output_get_insn_name () ...@@ -419,7 +419,10 @@ output_get_insn_name ()
printf ("get_insn_name (code)\n"); printf ("get_insn_name (code)\n");
printf (" int code;\n"); printf (" int code;\n");
printf ("{\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"); printf ("}\n");
} }
......
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