aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-vis.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-07-31 11:48:56 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-07-31 11:48:56 +0000
commit8c503f0dd33d2521a1a64f5687f2033569a46c43 (patch)
tree5d52b76e3a224ba07efb9f5620abc987ed68ed5b /gcc/sched-vis.c
parent0d4acd9048026979bbf8b69a5fc73340908b543c (diff)
downloadgcc-8c503f0dd33d2521a1a64f5687f2033569a46c43.zip
gcc-8c503f0dd33d2521a1a64f5687f2033569a46c43.tar.gz
gcc-8c503f0dd33d2521a1a64f5687f2033569a46c43.tar.bz2
sched-vis.c (dump_insn_slim): Print print_rtx_head at the start of each new line.
* sched-vis.c (dump_insn_slim): Print print_rtx_head at the start of each new line. * final.c (final_scan_insn): If the final dump is requested as slim RTL, dump slim RTL to the assembly file also. From-SVN: r190006
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r--gcc/sched-vis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c
index d5a8747..7a07b3f 100644
--- a/gcc/sched-vis.c
+++ b/gcc/sched-vis.c
@@ -767,11 +767,13 @@ dump_insn_slim (FILE *f, const_rtx x)
rtx note;
print_insn (t, x, 1);
+ fputs (print_rtx_head, f);
fputs (t, f);
putc ('\n', f);
if (INSN_P (x) && REG_NOTES (x))
for (note = REG_NOTES (x); note; note = XEXP (note, 1))
{
+ fputs (print_rtx_head, f);
print_value (t, XEXP (note, 0), 1);
fprintf (f, " %s: %s\n",
GET_REG_NOTE_NAME (REG_NOTE_KIND (note)), t);