diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-05 15:29:25 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-05 15:29:25 +0000 |
commit | 7d12ea9690dada627cda5cc62898ca934051c258 (patch) | |
tree | 3df16d88d5468f083edd135c99a4e38e2ad459bf /gcc/tree-phinodes.c | |
parent | 72fae5d08c663efeed5ec7158e61beb0841203be (diff) | |
download | gcc-7d12ea9690dada627cda5cc62898ca934051c258.tar.gz |
* tree-phinodes.c (remove_phi_node): Drop the last argument.
* tree-flow.h: Adjust the prototype for remove_phi_node.
* lambda-code.c (perfect_nestify): Adjust a call to
remove_phi_node.
* tree-cfg.c
(remove_phi_nodes_and_edges_for_unreachable_block): Likewise.
* tree-outof-ssa.c (eliminate_virtual_phis, remove_ssa_form):
Likewise.
* tree-ssa-dce.c (remove_dead_phis): Likewise.
* tree-ssa-loop-ivopts.c (remove_statement): Likewise.
* tree-ssa-pre.c (remove_dead_inserted_code): Likewise.
* tree-ssa.c (kill_redundant_phi_nodes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95932 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-phinodes.c')
-rw-r--r-- | gcc/tree-phinodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c index 8baf17a73a0..dcf4ba078ab 100644 --- a/gcc/tree-phinodes.c +++ b/gcc/tree-phinodes.c @@ -402,7 +402,7 @@ remove_phi_args (edge e) used as the node immediately before PHI in the linked list. */ void -remove_phi_node (tree phi, tree prev, basic_block bb) +remove_phi_node (tree phi, tree prev) { tree *loc; @@ -412,7 +412,7 @@ remove_phi_node (tree phi, tree prev, basic_block bb) } else { - for (loc = &(bb_ann (bb)->phi_nodes); + for (loc = &(bb_ann (bb_for_stmt (phi))->phi_nodes); *loc != phi; loc = &PHI_CHAIN (*loc)) ; |