toplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling reg_to_stack.

* toplev.c (rest_of_compilation): Open up the dump file for reg-stack
        before calling reg_to_stack.
So we get the proper debug information in the .stack dump file.

From-SVN: r22374
This commit is contained in:
Jeffrey A Law 1998-09-10 00:40:19 +00:00 committed by Jeff Law
parent 2c01018fc8
commit 25ba75837f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 10 01:38:05 1998 Jeffrey A Law (law@cygnus.com)
* toplev.c (rest_of_compilation): Open up the dump file for reg-stack
before calling reg_to_stack.
Thu Sep 10 00:03:34 1998 Richard Henderson <rth@cygnus.com>
* alpha.c (alphaev5_insn_pipe): Abort on default case.

View File

@ -3824,6 +3824,9 @@ rest_of_compilation (decl)
});
#ifdef STACK_REGS
if (stack_reg_dump)
open_dump_file (".stack", decl_printable_name (decl, 2));
TIMEVAR (stack_reg_time, reg_to_stack (insns, rtl_dump_file));
if (stack_reg_dump)