diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-05-03 21:47:31 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-05-03 21:47:31 +0000 |
commit | 7c49fef59c33b27b6a4cd2d8e6930eb2b8b15e0e (patch) | |
tree | d2baee0cf0b57554e23d7a789a01476ad0160d9d /gcc/tree-if-conv.c | |
parent | a67aa338b6d94b54e36b310cdcc31465841ea9cb (diff) | |
download | gcc-7c49fef59c33b27b6a4cd2d8e6930eb2b8b15e0e.zip gcc-7c49fef59c33b27b6a4cd2d8e6930eb2b8b15e0e.tar.gz gcc-7c49fef59c33b27b6a4cd2d8e6930eb2b8b15e0e.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index ed3f2f7..2d72eea 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -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); |