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/tree-pass.h | |
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/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 46dc00c..0d941019 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -586,7 +586,7 @@ extern gimple_opt_pass *make_pass_convert_switch (gcc::context *ctxt); extern opt_pass *current_pass; extern bool execute_one_pass (opt_pass *); -extern void execute_pass_list (opt_pass *); +extern void execute_pass_list (function *, opt_pass *); extern void execute_ipa_pass_list (opt_pass *); extern void execute_ipa_summary_passes (ipa_opt_pass_d *); extern void execute_all_ipa_transforms (void); @@ -614,7 +614,7 @@ extern bool function_called_by_processed_nodes_p (void); extern bool first_pass_instance; /* Declare for plugins. */ -extern void do_per_function_toporder (void (*) (void *), void *); +extern void do_per_function_toporder (void (*) (function *, void *), void *); extern void disable_pass (const char *); extern void enable_pass (const char *); |