Commit 7c49fef5 by Kazu Hirata Committed by Kazu Hirata

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
parent a67aa338
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
aux. aux.
* tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise. * 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> 2005-05-03 Richard Henderson <rth@redhat.com>
* config/rs6000/rs6000.c: Remove conflict markers. * config/rs6000/rs6000.c: Remove conflict markers.
......
...@@ -1974,7 +1974,6 @@ remove_bb (basic_block bb) ...@@ -1974,7 +1974,6 @@ remove_bb (basic_block bb)
{ {
release_defs (stmt); release_defs (stmt);
set_bb_for_stmt (stmt, NULL);
bsi_remove (&i); bsi_remove (&i);
} }
......
...@@ -799,9 +799,7 @@ replace_phi_with_cond_modify_expr (tree phi, tree cond, basic_block true_bb, ...@@ -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. */ /* Make new statement definition of the original phi result. */
SSA_NAME_DEF_STMT (PHI_RESULT (phi)) = new_stmt; SSA_NAME_DEF_STMT (PHI_RESULT (phi)) = new_stmt;
/* Set basic block and insert using iterator. */ /* Insert using iterator. */
set_bb_for_stmt (new_stmt, bb);
bsi_insert_after (bsi, new_stmt, BSI_SAME_STMT); bsi_insert_after (bsi, new_stmt, BSI_SAME_STMT);
bsi_next (bsi); bsi_next (bsi);
......
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