Commit d785e46f by Alexandre Oliva Committed by Alexandre Oliva

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
parent 0c4d91b9
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> 2009-11-17 Jan Hubicka <jh@suse.cz>
* ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile * ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile
...@@ -829,7 +829,8 @@ df_ref_create (rtx reg, rtx *loc, rtx insn, ...@@ -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 /* By adding the ref directly, df_insn_rescan my not find any
differences even though the block will have changed. So we need differences even though the block will have changed. So we need
to mark the block dirty ourselves. */ 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; return ref;
} }
...@@ -1027,7 +1028,8 @@ df_ref_remove (df_ref ref) ...@@ -1027,7 +1028,8 @@ df_ref_remove (df_ref ref)
/* By deleting the ref directly, df_insn_rescan my not find any /* By deleting the ref directly, df_insn_rescan my not find any
differences even though the block will have changed. So we need differences even though the block will have changed. So we need
to mark the block dirty ourselves. */ 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); df_reg_chain_unlink (ref);
} }
......
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