tree-cfg.c (bsi_replace): Delink immediate uses for the original stmt.

2005-04-26  Andrew MacLeod  <amacleod@redhat.com>

	* tree-cfg.c (bsi_replace): Delink immediate uses for the original stmt.

From-SVN: r98778
This commit is contained in:
Andrew MacLeod
2005-04-26 17:11:25 +00:00
committed by Andrew Macleod
parent d0e12fc607
commit b1ca239f18
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
2005-04-26 Andrew MacLeod <amacleod@redhat.com>
* tree-cfg.c (bsi_replace): Delink immediate uses for the original stmt.
2005-04-26 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c (lv_adjust_loop_header_phi): Speed up moving a
+1
View File
@@ -3011,6 +3011,7 @@ bsi_replace (const block_stmt_iterator *bsi, tree stmt, bool preserve_eh_info)
add_stmt_to_eh_region (stmt, eh_region);
}
delink_stmt_imm_use (orig_stmt);
*bsi_stmt_ptr (*bsi) = stmt;
mark_stmt_modified (stmt);
update_modified_stmts (stmt);