Commit 192082e7 by Kazu Hirata Committed by Kazu Hirata

tree-ssa-alias.c (init_alias_info): Remove a call to get_stmt_operands.

	* tree-ssa-alias.c (init_alias_info): Remove a call to
	get_stmt_operands.

From-SVN: r98195
parent 1b3e32dc
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
* basic-block.h (PROP_EQUAL_NOTES): Remove. * basic-block.h (PROP_EQUAL_NOTES): Remove.
* flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES. * flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES.
* tree-ssa-alias.c (init_alias_info): Remove a call to
get_stmt_operands.
2005-04-15 Andrew MacLeod <amacleod@redhat.com> 2005-04-15 Andrew MacLeod <amacleod@redhat.com>
* tree-vect-analyze.c (vect_stmt_relevant_p): Process immediate uses * tree-vect-analyze.c (vect_stmt_relevant_p): Process immediate uses
......
...@@ -505,21 +505,7 @@ init_alias_info (void) ...@@ -505,21 +505,7 @@ init_alias_info (void)
if (aliases_computed_p) if (aliases_computed_p)
{ {
unsigned i; unsigned i;
basic_block bb;
/* Make sure that every statement has a valid set of operands.
If a statement needs to be scanned for operands while we
compute aliases, it may get erroneous operands because all
the alias relations are not built at that point.
FIXME: This code will become obsolete when operands are not
lazily updated. */
FOR_EACH_BB (bb)
{
block_stmt_iterator si;
for (si = bsi_start (bb); !bsi_end_p (si); bsi_next (&si))
get_stmt_operands (bsi_stmt (si));
}
/* Similarly, clear the set of addressable variables. In this /* Similarly, clear the set of addressable variables. In this
case, we can just clear the set because addressability is case, we can just clear the set because addressability is
only computed here. */ only computed here. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment