toplev.c (rest_of_compilation): Allow dbr_schedule to write to the dump file too.

* toplev.c (rest_of_compilation): Allow dbr_schedule to write to
        the dump file too.

From-SVN: r26091
This commit is contained in:
Jeffrey A Law 1999-03-31 16:26:36 +00:00 committed by Jeff Law
parent 359da67d8a
commit bbd2180d18
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 31 17:20:11 1999 Jeffrey A Law (law@cygnus.com)
* toplev.c (rest_of_compilation): Allow dbr_schedule to write to
the dump file too.
Wed Mar 31 12:32:43 1999 Richard Henderson <rth@cygnus.com>
* flow.c (find_basic_blocks): New argument `do_cleanup'.

View File

@ -4238,11 +4238,14 @@ rest_of_compilation (decl)
#ifdef DELAY_SLOTS
if (optimize > 0 && flag_delayed_branch)
{
if (dbr_sched_dump)
open_dump_file (".dbr", decl_printable_name (decl, 2));
TIMEVAR (dbr_sched_time, dbr_schedule (insns, rtl_dump_file));
if (dbr_sched_dump)
{
dump_rtl (".dbr", decl, print_rtl_with_bb, insns);
close_dump_file (print_rtl_with_bb, insns);
if (graph_dump_format != no_graph)
print_rtl_graph_with_bb (dump_base_name, ".dbr", insns);
}