diff options
author | Martin Liska <mliska@suse.cz> | 2017-05-17 11:01:36 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-05-17 09:01:36 +0000 |
commit | 1a81741814618bc19d13de0b9e59c0324114cc86 (patch) | |
tree | 10c3b673319b0cdfae3db0314371cb6732181161 /gcc/tree-cfg.c | |
parent | b2fa0a8bdfe15c427f5750f008509ed518683e2b (diff) | |
download | gcc-1a81741814618bc19d13de0b9e59c0324114cc86.zip gcc-1a81741814618bc19d13de0b9e59c0324114cc86.tar.gz gcc-1a81741814618bc19d13de0b9e59c0324114cc86.tar.bz2 |
Introduce dump_flags_t type and use it instead of int type.
2017-05-17 Martin Liska <mliska@suse.cz>
* class.c (dump_class_hierarchy): Introduce dump_flags_t type and
use it instead of int type.
(dump_vtable): Likewise.
(dump_vtt): Likewise.
* decl2.c (dump_tu): Likewise.
2017-05-17 Martin Liska <mliska@suse.cz>
* c-common.h: Introduce dump_flags_t type and
use it instead of int type.
* c-gimplify.c (c_genericize): Likewise.
* c-opts.c: Likewise.
2017-05-17 Martin Liska <mliska@suse.cz>
* c-decl.c (c_parse_final_cleanups): Introduce dump_flags_t type and
use it instead of int type.
2017-05-17 Martin Liska <mliska@suse.cz>
* cfg.c: Introduce dump_flags_t type and
use it instead of int type.
* cfg.h: Likewise.
* cfghooks.c: Likewise.
* cfghooks.h (struct cfg_hooks): Likewise.
* cfgrtl.c: Likewise.
* cfgrtl.h: Likewise.
* cgraph.c (cgraph_node::get_body): Likewise.
* coretypes.h: Likewise.
* domwalk.c: Likewise.
* domwalk.h: Likewise.
* dumpfile.c (struct dump_option_value_info): Likewise.
(dump_enable_all): Likewise.
(dump_switch_p_1): Likewise.
(opt_info_switch_p): Likewise.
* dumpfile.h (enum tree_dump_index): Likewise.
(struct dump_file_info): Likewise.
* genemit.c: Likewise.
* generic-match-head.c: Likewise.
* gengtype.c (open_base_files): Likewise.
* gimple-pretty-print.c: Likewise.
* gimple-pretty-print.h: Likewise.
* graph.c (print_graph_cfg): Likewise.
* graphite-scop-detection.c (dot_all_sese): Likewise.
* ipa-devirt.c (build_type_inheritance_graph): Likewise.
* loop-unroll.c (report_unroll): Likewise.
* passes.c (pass_manager::register_one_dump_file): Likewise.
* print-tree.c: Likewise.
* statistics.c: Likewise.
* tree-cfg.c: Likewise.
* tree-cfg.h: Likewise.
* tree-dfa.c: Likewise.
* tree-dfa.h: Likewise.
* tree-dump.c (dump_function): Likewise.
* tree-dump.h (struct dump_info): Likewise.
* tree-pretty-print.c: Likewise.
* tree-pretty-print.h: Likewise.
* tree-ssa-live.c: Likewise.
* tree-ssa-live.h: Likewise.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise.
* tree-vect-loop.c: Likewise.
* tree-vect-slp.c: Likewise.
From-SVN: r248140
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 7dbd0a8..e046a13 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -2376,7 +2376,7 @@ gimple_debug_bb_n (int n) (see TDF_* in dumpfile.h). */ void -gimple_debug_cfg (int flags) +gimple_debug_cfg (dump_flags_t flags) { gimple_dump_cfg (stderr, flags); } @@ -2388,7 +2388,7 @@ gimple_debug_cfg (int flags) tree.h). */ void -gimple_dump_cfg (FILE *file, int flags) +gimple_dump_cfg (FILE *file, dump_flags_t flags) { if (flags & TDF_DETAILS) { @@ -7518,7 +7518,7 @@ move_sese_region_to_fn (struct function *dest_cfun, basic_block entry_bb, SPC. */ static void -dump_default_def (FILE *file, tree def, int spc, int flags) +dump_default_def (FILE *file, tree def, int spc, dump_flags_t flags) { for (int i = 0; i < spc; ++i) fprintf (file, " "); @@ -7536,7 +7536,7 @@ dump_default_def (FILE *file, tree def, int spc, int flags) */ void -dump_function_to_file (tree fndecl, FILE *file, int flags) +dump_function_to_file (tree fndecl, FILE *file, dump_flags_t flags) { tree arg, var, old_current_fndecl = current_function_decl; struct function *dsf; @@ -7759,7 +7759,7 @@ dump_function_to_file (tree fndecl, FILE *file, int flags) /* Dump FUNCTION_DECL FN to stderr using FLAGS (see TDF_* in tree.h) */ DEBUG_FUNCTION void -debug_function (tree fn, int flags) +debug_function (tree fn, dump_flags_t flags) { dump_function_to_file (fn, stderr, flags); } |