diff options
author | Sharad Singhai <singhai@google.com> | 2012-10-22 18:50:19 +0000 |
---|---|---|
committer | Sharad Singhai <singhai@gcc.gnu.org> | 2012-10-22 18:50:19 +0000 |
commit | 74911c3cff91b2d02e1f51c3ca0264c58d06d9f1 (patch) | |
tree | 681f63b2a5de370e26f0825f084508a7576d4775 /gcc/dumpfile.h | |
parent | 4caaa4621a91d1ecb80151f83566cafd0b1f7a70 (diff) | |
download | gcc-74911c3cff91b2d02e1f51c3ca0264c58d06d9f1.zip gcc-74911c3cff91b2d02e1f51c3ca0264c58d06d9f1.tar.gz gcc-74911c3cff91b2d02e1f51c3ca0264c58d06d9f1.tar.bz2 |
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
Diffstat (limited to 'gcc/dumpfile.h')
-rw-r--r-- | gcc/dumpfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h index 87a2c72..24374bf 100644 --- a/gcc/dumpfile.h +++ b/gcc/dumpfile.h @@ -121,6 +121,7 @@ extern int dump_switch_p (const char *); extern int opt_info_switch_p (const char *); extern const char *dump_flag_name (int); extern bool dump_kind_p (int); +extern inline bool dump_enabled_p (void); extern void dump_printf (int, const char *, ...) ATTRIBUTE_PRINTF_2; extern void dump_printf_loc (int, source_location, const char *, ...) ATTRIBUTE_PRINTF_3; |