df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns.
* df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns. (df_ref_remove): Likewise. From-SVN: r154278
This commit is contained in:
parent
0c4d91b9a1
commit
d785e46f77
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-11-18 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns.
|
||||
(df_ref_remove): Likewise.
|
||||
|
||||
2009-11-17 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile
|
||||
|
|
|
@ -829,7 +829,8 @@ df_ref_create (rtx reg, rtx *loc, rtx insn,
|
|||
/* By adding the ref directly, df_insn_rescan my not find any
|
||||
differences even though the block will have changed. So we need
|
||||
to mark the block dirty ourselves. */
|
||||
df_set_bb_dirty (bb);
|
||||
if (!DEBUG_INSN_P (DF_REF_INSN (ref)))
|
||||
df_set_bb_dirty (bb);
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
@ -1027,7 +1028,8 @@ df_ref_remove (df_ref ref)
|
|||
/* By deleting the ref directly, df_insn_rescan my not find any
|
||||
differences even though the block will have changed. So we need
|
||||
to mark the block dirty ourselves. */
|
||||
df_set_bb_dirty (DF_REF_BB (ref));
|
||||
if (!DEBUG_INSN_P (DF_REF_INSN (ref)))
|
||||
df_set_bb_dirty (DF_REF_BB (ref));
|
||||
df_reg_chain_unlink (ref);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue