aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-15 03:16:20 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-15 03:16:20 +0000
commit25cd19de2f36ed2fce8aa2e9b8903591352b77a3 (patch)
treeae7ea22ccec56e2435490449ff187f687695052d /gcc/passes.c
parentc87ac7e8f700f24e213a54f4f0f6852bdd392bf4 (diff)
downloadgcc-25cd19de2f36ed2fce8aa2e9b8903591352b77a3.zip
gcc-25cd19de2f36ed2fce8aa2e9b8903591352b77a3.tar.gz
gcc-25cd19de2f36ed2fce8aa2e9b8903591352b77a3.tar.bz2
cfgrtl.c (purge_all_dead_edge): Remove an unused argument.
* cfgrtl.c (purge_all_dead_edge): Remove an unused argument. * basic-block.h: Update the prototype for purge_all_dead_edges. * cfgexpand.c (tree_expand_cfg): Update a call to purge_all_dead_edges. * combine.c (combine_instructions): Likewise. * passes.c (rest_of_handle_old_regalloc, rest_of_handle_cse, rest_of_handle_cse2, rest_of_handle_gcse, rest_of_handle_postreload): likewise. From-SVN: r98168
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index c2cbefb..d210bcf 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -459,7 +459,7 @@ rest_of_handle_old_regalloc (void)
timevar_push (TV_JUMP);
rebuild_jump_labels (get_insns ());
- purge_all_dead_edges (0);
+ purge_all_dead_edges ();
delete_unreachable_blocks ();
timevar_pop (TV_JUMP);
@@ -978,7 +978,7 @@ rest_of_handle_cse (void)
tem = cse_main (get_insns (), max_reg_num (), dump_file);
if (tem)
rebuild_jump_labels (get_insns ());
- if (purge_all_dead_edges (0))
+ if (purge_all_dead_edges ())
delete_unreachable_blocks ();
delete_trivially_dead_insns (get_insns (), max_reg_num ());
@@ -1018,7 +1018,7 @@ rest_of_handle_cse2 (void)
bypassed safely. */
cse_condition_code_reg ();
- purge_all_dead_edges (0);
+ purge_all_dead_edges ();
delete_trivially_dead_insns (get_insns (), max_reg_num ());
if (tem)
@@ -1061,7 +1061,7 @@ rest_of_handle_gcse (void)
timevar_push (TV_CSE);
reg_scan (get_insns (), max_reg_num ());
tem2 = cse_main (get_insns (), max_reg_num (), dump_file);
- purge_all_dead_edges (0);
+ purge_all_dead_edges ();
delete_trivially_dead_insns (get_insns (), max_reg_num ());
timevar_pop (TV_CSE);
cse_not_expected = !flag_rerun_cse_after_loop;
@@ -1409,7 +1409,7 @@ rest_of_handle_postreload (void)
/* reload_cse_regs can eliminate potentially-trapping MEMs.
Remove any EH edges associated with them. */
if (flag_non_call_exceptions)
- purge_all_dead_edges (0);
+ purge_all_dead_edges ();
close_dump_file (DFI_postreload, print_rtl_with_bb, get_insns ());
timevar_pop (TV_RELOAD_CSE_REGS);