dwarf2out: Convert regs_saved_in_regs to VEC.
authorRichard Henderson <rth@redhat.com>
Thu, 30 Jun 2011 20:59:41 +0000 (13:59 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 30 Jun 2011 20:59:41 +0000 (13:59 -0700)
commite3f903d88a6edd374d375575fa9c305868f61071
tree3cc12b7bded8b4a0cd53ce0068a1eb0c9ef0485f
parente2c9010ae86229c17b29cfdb83a5ac9d6c0299ba
dwarf2out: Convert regs_saved_in_regs to VEC.

        * dwarf2out.c (struct reg_saved_in_data): Provide a typedef.
        Define a vector of this type.
        (regs_saved_in_regs): Use a VEC.
        (num_regs_saved_in_regs): Remove.
        (compare_reg_or_pc): New.
        (record_reg_saved_in_reg): Split out from...
        (dwarf2out_flush_queued_reg_saves): ... here.
        (clobbers_queued_reg_save): Update for VEC.
        (reg_saved_in): Likewise.
        (dwarf2out_frame_debug_init): Likewise.
        (dwarf2out_reg_save_reg): Use record_reg_saved_in_reg.
        (dwarf2out_frame_debug_cfa_register): Likewise.

From-SVN: r175727
gcc/ChangeLog
gcc/dwarf2out.c