mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 16:50:49 +08:00
tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge with e->dest_idx.
* tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge with e->dest_idx. From-SVN: r91264
This commit is contained in:
parent
5f0a713c2a
commit
92faa2d1fe
@ -3,6 +3,9 @@
|
||||
* tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
|
||||
instead of calling phi_arg_from_edge.
|
||||
|
||||
* tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge
|
||||
with e->dest_idx.
|
||||
|
||||
2004-11-24 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
|
||||
|
@ -395,11 +395,7 @@ remove_phi_args (edge e)
|
||||
tree phi;
|
||||
|
||||
for (phi = phi_nodes (e->dest); phi; phi = PHI_CHAIN (phi))
|
||||
{
|
||||
int index = phi_arg_from_edge (phi, e);
|
||||
if (index >= 0)
|
||||
remove_phi_arg_num (phi, index);
|
||||
}
|
||||
remove_phi_arg_num (phi, e->dest_idx);
|
||||
}
|
||||
|
||||
/* Remove PHI node PHI from basic block BB. If PREV is non-NULL, it is
|
||||
|
Loading…
x
Reference in New Issue
Block a user