print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the CALL_INSN from the normal case.
* print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the CALL_INSN from the normal case. From-SVN: r33103
This commit is contained in:
parent
1d81378062
commit
c3c6393606
@ -1,3 +1,8 @@
|
|||||||
|
Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||||
|
|
||||||
|
* print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
|
||||||
|
CALL_INSN from the normal case.
|
||||||
|
|
||||||
Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
|
Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
|
* i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
|
||||||
|
@ -72,6 +72,7 @@ print_rtx (in_rtx)
|
|||||||
register int j;
|
register int j;
|
||||||
register const char *format_ptr;
|
register const char *format_ptr;
|
||||||
register int is_insn;
|
register int is_insn;
|
||||||
|
rtx tem;
|
||||||
|
|
||||||
if (sawclose)
|
if (sawclose)
|
||||||
{
|
{
|
||||||
@ -315,8 +316,7 @@ print_rtx (in_rtx)
|
|||||||
rtx sub = XEXP (in_rtx, i);
|
rtx sub = XEXP (in_rtx, i);
|
||||||
enum rtx_code subc = GET_CODE (sub);
|
enum rtx_code subc = GET_CODE (sub);
|
||||||
|
|
||||||
if (GET_CODE (in_rtx) == LABEL_REF
|
if (GET_CODE (in_rtx) == LABEL_REF && subc != CODE_LABEL)
|
||||||
&& subc != CODE_LABEL)
|
|
||||||
goto do_e;
|
goto do_e;
|
||||||
|
|
||||||
if (flag_dump_unnumbered)
|
if (flag_dump_unnumbered)
|
||||||
@ -368,9 +368,19 @@ print_rtx (in_rtx)
|
|||||||
|
|
||||||
if (GET_CODE (in_rtx) == CODE_LABEL)
|
if (GET_CODE (in_rtx) == CODE_LABEL)
|
||||||
{
|
{
|
||||||
fprintf (outfile, " [num uses: %d]", LABEL_NUSES (in_rtx));
|
fprintf (outfile, " [%d uses]", LABEL_NUSES (in_rtx));
|
||||||
if (LABEL_ALTERNATE_NAME (in_rtx))
|
if (LABEL_ALTERNATE_NAME (in_rtx))
|
||||||
fprintf (outfile, " [alternate name: %s]", LABEL_ALTERNATE_NAME (in_rtx));
|
fprintf (outfile, " [alternate name: %s]",
|
||||||
|
LABEL_ALTERNATE_NAME (in_rtx));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (GET_CODE (in_rtx) == CALL_PLACEHOLDER)
|
||||||
|
for (tem = XEXP (in_rtx, 0); tem != 0; tem = NEXT_INSN (tem))
|
||||||
|
if (GET_CODE (tem) == CALL_INSN)
|
||||||
|
{
|
||||||
|
fprintf (outfile, " ");
|
||||||
|
print_rtx (tem);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dump_for_graph
|
if (dump_for_graph
|
||||||
@ -515,16 +525,13 @@ print_rtl (outf, rtx_first)
|
|||||||
case NOTE:
|
case NOTE:
|
||||||
case CODE_LABEL:
|
case CODE_LABEL:
|
||||||
case BARRIER:
|
case BARRIER:
|
||||||
for (tmp_rtx = rtx_first; NULL != tmp_rtx; tmp_rtx = NEXT_INSN (tmp_rtx))
|
for (tmp_rtx = rtx_first; tmp_rtx != 0; tmp_rtx = NEXT_INSN (tmp_rtx))
|
||||||
{
|
|
||||||
if (! flag_dump_unnumbered
|
if (! flag_dump_unnumbered
|
||||||
|| GET_CODE (tmp_rtx) != NOTE
|
|| GET_CODE (tmp_rtx) != NOTE || NOTE_LINE_NUMBER (tmp_rtx) < 0)
|
||||||
|| NOTE_LINE_NUMBER (tmp_rtx) < 0)
|
|
||||||
{
|
{
|
||||||
print_rtx (tmp_rtx);
|
print_rtx (tmp_rtx);
|
||||||
fprintf (outfile, "\n");
|
fprintf (outfile, "\n");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user