dumpfile.c (dump_phase_enabled_p): Renamed dump_enabled_p.
authorSharad Singhai <singhai@google.com>
Mon, 22 Oct 2012 18:50:19 +0000 (18:50 +0000)
committerSharad Singhai <singhai@gcc.gnu.org>
Mon, 22 Oct 2012 18:50:19 +0000 (18:50 +0000)
commit74911c3cff91b2d02e1f51c3ca0264c58d06d9f1
tree681f63b2a5de370e26f0825f084508a7576d4775
parent4caaa4621a91d1ecb80151f83566cafd0b1f7a70
dumpfile.c (dump_phase_enabled_p): Renamed dump_enabled_p.

2012-10-22  Sharad Singhai  <singhai@google.com>

        * dumpfile.c (dump_phase_enabled_p): Renamed dump_enabled_p. Update
        all callers.
(dump_enabled_p): A new function to check if any of the dump files
is available.
(dump_kind_p): Remove check for current_function_decl. Add check for
dumpfile and alt_dump_file.
* dumpfile.h: Add declaration of dump_enabled_p.

From-SVN: r192692
gcc/ChangeLog
gcc/dumpfile.c
gcc/dumpfile.h