diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2004-06-16 23:03:34 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-06-16 23:03:34 +0000 |
commit | 17192884645f6c9e6135af2e691418734bdb6aac (patch) | |
tree | dde82bd9f48e0a3f866df03c17efa0827619c51e /gcc/tree-ssa-dse.c | |
parent | bf83cc10ca01f0da835a13d9bda9ca52cd251bea (diff) | |
download | gcc-17192884645f6c9e6135af2e691418734bdb6aac.tar.gz |
tree.h (PHI_CHAIN): New.
* tree.h (PHI_CHAIN): New.
* (tree-cfg.c, tree-dfa.c, tree-flow-inline.h, tree-into-ssa.c,
tree-outof-ssa.c, tree-phinodes.c, tree-pretty-print.c,
tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-dse.c,
tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
tree-ssa.c, tree-tailcall.c): Use PHI_CHAIN instead of TREE_CHAIN
when traversing a list of PHI_NODEs.
From-SVN: r83273
Diffstat (limited to 'gcc/tree-ssa-dse.c')
-rw-r--r-- | gcc/tree-ssa-dse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 88ca1363c87..e5ba66f56aa 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -333,7 +333,7 @@ dse_record_phis (struct dom_walk_data *walk_data, basic_block bb) struct dse_global_data *dse_gd = walk_data->global_data; tree phi; - for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) if (need_imm_uses_for (PHI_RESULT (phi))) record_voperand_set (dse_gd->stores, &bd->stores, @@ -373,7 +373,7 @@ tree_ssa_dse (void) for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) stmt_ann (bsi_stmt (bsi))->uid = uid++; - for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) stmt_ann (phi)->uid = uid++; } |