diff options
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r-- | gcc/sched-vis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c index 906e9c31f2a..5754a56a5fa 100644 --- a/gcc/sched-vis.c +++ b/gcc/sched-vis.c @@ -779,7 +779,7 @@ print_rtl_slim_with_bb (FILE *f, rtx first, int flags) print_rtl_slim (f, first, NULL, -1, flags); } -/* Same as above, but stop at LAST or when COUNT == 0. +/* Same as above, but stop at LAST or when COUNT == 0. If COUNT < 0 it will stop only at LAST or NULL rtx. */ void print_rtl_slim (FILE *f, rtx first, rtx last, int count, int flags) @@ -788,8 +788,8 @@ print_rtl_slim (FILE *f, rtx first, rtx last, int count, int flags) rtx insn, tail; tail = last ? NEXT_INSN (last) : NULL_RTX; - for (insn = first; - (insn != NULL) && (insn != tail) && (count != 0); + for (insn = first; + (insn != NULL) && (insn != tail) && (count != 0); insn = NEXT_INSN (insn)) { if ((flags & TDF_BLOCKS) @@ -815,7 +815,7 @@ print_rtl_slim (FILE *f, rtx first, rtx last, int count, int flags) } } -void +void debug_bb_slim (struct basic_block_def *bb) { print_rtl_slim (stderr, BB_HEAD (bb), BB_END (bb), -1, 32); |