Commit bbd2180d by Jeffrey A Law Committed by Jeff Law

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
parent 359da67d
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> Wed Mar 31 12:32:43 1999 Richard Henderson <rth@cygnus.com>
* flow.c (find_basic_blocks): New argument `do_cleanup'. * flow.c (find_basic_blocks): New argument `do_cleanup'.
......
...@@ -4238,11 +4238,14 @@ rest_of_compilation (decl) ...@@ -4238,11 +4238,14 @@ rest_of_compilation (decl)
#ifdef DELAY_SLOTS #ifdef DELAY_SLOTS
if (optimize > 0 && flag_delayed_branch) 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)); TIMEVAR (dbr_sched_time, dbr_schedule (insns, rtl_dump_file));
if (dbr_sched_dump) 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) if (graph_dump_format != no_graph)
print_rtl_graph_with_bb (dump_base_name, ".dbr", insns); print_rtl_graph_with_bb (dump_base_name, ".dbr", insns);
} }
......
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