diff options
author | Richard Biener <rguenther@suse.de> | 2014-04-28 11:30:09 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-04-28 11:30:09 +0000 |
commit | 2cbf2d9595cc705613fde7eb201d207adb92495d (patch) | |
tree | 4f9b23d524821efc4c27bb71b50ded92810d7fb2 /gcc/cgraph.c | |
parent | ba21a04a1e9b611b3f97895af0c7af3871991c94 (diff) | |
download | gcc-2cbf2d9595cc705613fde7eb201d207adb92495d.zip gcc-2cbf2d9595cc705613fde7eb201d207adb92495d.tar.gz gcc-2cbf2d9595cc705613fde7eb201d207adb92495d.tar.bz2 |
tree-pass.h (execute_pass_list): Adjust prototype.
2014-04-28 Richard Biener <rguenther@suse.de>
* tree-pass.h (execute_pass_list): Adjust prototype.
* passes.c (pass_manager::execute_early_local_passes):
Adjust.
(do_per_function): Change callback signature, push all actual
work to the callbals.
(do_per_function_toporder): Likewise.
(execute_function_dump): Adjust.
(execute_function_todo): Likewise.
(clear_last_verified): Likewise.
(verify_curr_properties): Likewise.
(update_properties_after_pass): Likewise.
(execute_pass_list_1): Split out from ...
(execute_pass_list): ... here. Adjust.
(execute_ipa_pass_list): Likewise.
* cgraphunit.c (cgraph_add_new_function): Adjust.
(analyze_function): Likewise.
(expand_function): Likewise.
* cgraph.c (release_function_body): Free dominance info
here instead of asserting it was magically freed elsewhere.
From-SVN: r209856
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index ee192ed..5191542 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1696,8 +1696,8 @@ release_function_body (tree decl) } if (cfun->cfg) { - gcc_assert (dom_computed[0] == DOM_NONE); - gcc_assert (dom_computed[1] == DOM_NONE); + free_dominance_info (CDI_DOMINATORS); + free_dominance_info (CDI_POST_DOMINATORS); clear_edges (); cfun->cfg = NULL; } |