summaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-21 08:02:21 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-21 08:02:21 +0000
commit212dddd37fee2f99206cc82a89e7e5ad68ae4fd7 (patch)
treeac5969cac9f16efc22521450737be550667ef96f /gcc/cfgcleanup.c
parent543efdbea6e840bc1374b5ad36a3ebb2644b20ca (diff)
downloadgcc-212dddd37fee2f99206cc82a89e7e5ad68ae4fd7.tar.gz
2012-03-21 Richard Guenther <rguenther@suse.de>
* Makefile.in (cfgexpand.o): Add $(REGS_H) and $(INTEGRATE_H) dependencies. * cfgexpand.c (gimple_expand_cfg): Fold in pass_init_function, pass_jump, pass_initial_value_sets and pass_unshare_all_rtl. * passes.c (init_optimization_passes): Remove pass_init_function, pass_jump, pass_initial_value_sets and pass_unshare_all_rtl. * tree-pass.h (pass_init_function): Remove. (pass_jump): Remove. (pass_initial_value_sets): Remove. (pass_unshare_all_rtl): Remove. * integrate.c (pass_initial_value_sets): Remove. * emit-rtl.c (pass_unshare_all_rtl): Remove. * tree.h (init_function_for_compilation): Remove. * function.c (init_function_for_compilation): Remove. (pass_init_function): Remove. * cfgcleanup.c (rest_of_handle_jump): Remove. (pass_jump): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index b59cf7bc9f0..c695878802c 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -2982,34 +2982,6 @@ cleanup_cfg (int mode)
}
static unsigned int
-rest_of_handle_jump (void)
-{
- if (crtl->tail_call_emit)
- fixup_tail_calls ();
- return 0;
-}
-
-struct rtl_opt_pass pass_jump =
-{
- {
- RTL_PASS,
- "sibling", /* name */
- NULL, /* gate */
- rest_of_handle_jump, /* execute */
- NULL, /* sub */
- NULL, /* next */
- 0, /* static_pass_number */
- TV_JUMP, /* tv_id */
- 0, /* properties_required */
- 0, /* properties_provided */
- 0, /* properties_destroyed */
- TODO_ggc_collect, /* todo_flags_start */
- TODO_verify_flow, /* todo_flags_finish */
- }
-};
-
-
-static unsigned int
rest_of_handle_jump2 (void)
{
delete_trivially_dead_insns (get_insns (), max_reg_num ());