summaryrefslogtreecommitdiff
path: root/gcc/tree-phinodes.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-23 22:58:23 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-23 22:58:23 +0000
commit6b34676b01e8efbfbd7ee2b8d5ee01ba3775474f (patch)
treecd12fb57e73572b1c03aae2557c12c77bee3e813 /gcc/tree-phinodes.c
parentf064ebd17debbb055d5cb445176fea22ea1eedbb (diff)
downloadgcc-6b34676b01e8efbfbd7ee2b8d5ee01ba3775474f.tar.gz
* tree.h (PHI_ARG_NONZERO): Remove.
* tree-phinodes.c (add_phi_arg): No longer initialize PHI_ARG_NONZERO. (remove_phi_arg_num): No longer copy PHI_ARG_NONZERO from the old node to the new node. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111400 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-phinodes.c')
-rw-r--r--gcc/tree-phinodes.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index b7cfcb20c08..75e76308470 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -392,7 +392,6 @@ add_phi_arg (tree phi, tree def, edge e)
}
SET_PHI_ARG_DEF (phi, e->dest_idx, def);
- PHI_ARG_NONZERO (phi, e->dest_idx) = false;
}
/* Remove the Ith argument from PHI's argument list. This routine
@@ -415,13 +414,11 @@ remove_phi_arg_num (tree phi, int i)
if (i != num_elem - 1)
{
SET_PHI_ARG_DEF (phi, i, PHI_ARG_DEF (phi, num_elem - 1));
- PHI_ARG_NONZERO (phi, i) = PHI_ARG_NONZERO (phi, num_elem - 1);
}
/* Shrink the vector and return. Note that we do not have to clear
- PHI_ARG_DEF or PHI_ARG_NONZERO because the garbage collector will
- not look at those elements beyond the first PHI_NUM_ARGS elements
- of the array. */
+ PHI_ARG_DEF because the garbage collector will not look at those
+ elements beyond the first PHI_NUM_ARGS elements of the array. */
PHI_NUM_ARGS (phi)--;
}