diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2008-03-01 03:36:43 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2008-03-01 03:36:43 +0000 |
commit | 63642d5a8dae511ccd320c89580c359a09b713dc (patch) | |
tree | b81fab7b64f19da71fa7bc7fb05aa9bf93363c02 /gcc/emit-rtl.c | |
parent | e065105898e9374964c728fdc3065bb9cc807560 (diff) | |
download | gcc-63642d5a8dae511ccd320c89580c359a09b713dc.zip gcc-63642d5a8dae511ccd320c89580c359a09b713dc.tar.gz gcc-63642d5a8dae511ccd320c89580c359a09b713dc.tar.bz2 |
df-scan.c (df_ref_chain_change_bb): Simplify.
* df-scan.c (df_ref_chain_change_bb): Simplify.
(df_insn_change_bb): Add new_bb argument. Simplify. Call
set_block_for_insn if there's any change.
* df.h ((df_insn_change_bb): Fix prototype.
* cfgrtl.c (update_bb_for_insn_chain): Pass bb to
df_insn_change_bb, don't call set_block_for_insn.
* emit-rtl.c (reorder_insns): Likewise.
* haifa-sched.c (move_insn): Likewise.
From-SVN: r132795
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 36997cd..8628d52 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3737,10 +3737,7 @@ reorder_insns (rtx from, rtx to, rtx after) for (x = from; x != NEXT_INSN (to); x = NEXT_INSN (x)) if (!BARRIER_P (x)) - { - set_block_for_insn (x, bb); - df_insn_change_bb (x); - } + df_insn_change_bb (x, bb); } } |