diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-01-27 10:10:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-01-27 10:10:04 +0100 |
commit | da5c25f37101cd71f08e31ad581a00840ef75497 (patch) | |
tree | 06b1114c3736183b5e5d5cfc71633cbc744b0f11 /gcc/passes.c | |
parent | efc9ccbfd0ca4da6bf0aba913df6f77f56044dc2 (diff) | |
download | gcc-da5c25f37101cd71f08e31ad581a00840ef75497.zip gcc-da5c25f37101cd71f08e31ad581a00840ef75497.tar.gz gcc-da5c25f37101cd71f08e31ad581a00840ef75497.tar.bz2 |
Rename PROP_trees to PROP_gimple
PROP_trees actually means GIMPLE IL, rather than GENERIC, so better
not to confuse users.
2021-01-27 Jakub Jelinek <jakub@redhat.com>
* tree-pass.h (PROP_trees): Rename to ...
(PROP_gimple): ... this.
* cfgexpand.c (pass_data_expand): Replace PROP_trees with PROP_gimple.
* passes.c (execute_function_dump, execute_function_todo,
execute_one_ipa_transform_pass, execute_one_pass): Likewise.
* varpool.c (ctor_for_folding): Likewise.
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 4fb1be9..64550b0 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1793,7 +1793,7 @@ execute_function_dump (function *fn, void *data) { push_cfun (fn); - if (fn->curr_properties & PROP_trees) + if (fn->curr_properties & PROP_gimple) dump_function_to_file (fn->decl, dump_file, dump_flags); else print_rtl_with_bb (dump_file, get_insns (), dump_flags); @@ -2034,7 +2034,7 @@ execute_function_todo (function *fn, void *data) if (flags & TODO_verify_il) { - if (cfun->curr_properties & PROP_trees) + if (cfun->curr_properties & PROP_gimple) { if (cfun->curr_properties & PROP_cfg) /* IPA passes leave stmts to be fixed up, so make sure to @@ -2272,7 +2272,7 @@ execute_one_ipa_transform_pass (struct cgraph_node *node, /* Note that the folders should only create gimple expressions. This is a hack until the new folder is ready. */ - in_gimple_form = (cfun && (cfun->curr_properties & PROP_trees)) != 0; + in_gimple_form = (cfun && (cfun->curr_properties & PROP_gimple)) != 0; pass_init_dump_file (pass); @@ -2545,7 +2545,7 @@ execute_one_pass (opt_pass *pass) /* Note that the folders should only create gimple expressions. This is a hack until the new folder is ready. */ - in_gimple_form = (cfun && (cfun->curr_properties & PROP_trees)) != 0; + in_gimple_form = (cfun && (cfun->curr_properties & PROP_gimple)) != 0; pass_init_dump_file (pass); @@ -2628,7 +2628,7 @@ execute_one_pass (opt_pass *pass) pass_fini_dump_file (pass); if (pass->type != SIMPLE_IPA_PASS && pass->type != IPA_PASS) - gcc_assert (!(cfun->curr_properties & PROP_trees) + gcc_assert (!(cfun->curr_properties & PROP_gimple) || pass->type != RTL_PASS); current_pass = NULL; |