tree-flow.h (bb_ann_d): Remove has_escape_site.

* tree-flow.h (bb_ann_d): Remove has_escape_site.
	* tree-ssa-alias.c (compute_points_to_addr_escape): Don't
	write to has_escape_site.

From-SVN: r100109
This commit is contained in:
Kazu Hirata 2005-05-24 19:57:52 +00:00 committed by Kazu Hirata
parent e0f391dd90
commit 04d0d7500a
3 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2005-05-24 Kazu Hirata <kazu@cs.umass.edu>
* tree-flow.h (bb_ann_d): Remove has_escape_site.
* tree-ssa-alias.c (compute_points_to_addr_escape): Don't
write to has_escape_site.
2005-05-24 Jeff Law <law@redhat.com> 2005-05-24 Jeff Law <law@redhat.com>
* Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h. * Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.

View File

@ -385,9 +385,6 @@ struct bb_ann_d GTY(())
/* Chain of PHI nodes for this block. */ /* Chain of PHI nodes for this block. */
tree phi_nodes; tree phi_nodes;
/* Nonzero if this block contains an escape point (see is_escape_site). */
unsigned has_escape_site : 1;
/* Nonzero if one or more incoming edges to this block should be threaded /* Nonzero if one or more incoming edges to this block should be threaded
to an outgoing edge of this block. */ to an outgoing edge of this block. */
unsigned incoming_edge_threaded : 1; unsigned incoming_edge_threaded : 1;

View File

@ -642,7 +642,6 @@ compute_points_to_and_addr_escape (struct alias_info *ai)
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
{ {
bb_ann_t block_ann = bb_ann (bb);
block_stmt_iterator si; block_stmt_iterator si;
for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si)) for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si))
@ -666,9 +665,6 @@ compute_points_to_and_addr_escape (struct alias_info *ai)
mark_call_clobbered (var); mark_call_clobbered (var);
} }
if (stmt_escapes_p)
block_ann->has_escape_site = 1;
FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_USE) FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_USE)
{ {
var_ann_t v_ann = var_ann (SSA_NAME_VAR (op)); var_ann_t v_ann = var_ann (SSA_NAME_VAR (op));