tree-cfg.c (remove_bb): Remove a redundant call to set_bb_for_stmt.

* tree-cfg.c (remove_bb): Remove a redundant call to
	set_bb_for_stmt.
	* tree-if-conv.c (replace_phi_with_cond_modify_expr):
	Likewise.

From-SVN: r99183
This commit is contained in:
Kazu Hirata 2005-05-03 21:47:31 +00:00 committed by Kazu Hirata
parent a67aa338b6
commit 7c49fef59c
3 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,11 @@
aux.
* tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise.
* tree-cfg.c (remove_bb): Remove a redundant call to
set_bb_for_stmt.
* tree-if-conv.c (replace_phi_with_cond_modify_expr):
Likewise.
2005-05-03 Richard Henderson <rth@redhat.com>
* config/rs6000/rs6000.c: Remove conflict markers.

View File

@ -1974,7 +1974,6 @@ remove_bb (basic_block bb)
{
release_defs (stmt);
set_bb_for_stmt (stmt, NULL);
bsi_remove (&i);
}

View File

@ -799,9 +799,7 @@ replace_phi_with_cond_modify_expr (tree phi, tree cond, basic_block true_bb,
/* Make new statement definition of the original phi result. */
SSA_NAME_DEF_STMT (PHI_RESULT (phi)) = new_stmt;
/* Set basic block and insert using iterator. */
set_bb_for_stmt (new_stmt, bb);
/* Insert using iterator. */
bsi_insert_after (bsi, new_stmt, BSI_SAME_STMT);
bsi_next (bsi);