]> git.ipfire.org Git - thirdparty/gcc.git/commit
* df.h (df_insn_delete): Adjust prototype.
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Mar 2013 16:37:00 +0000 (16:37 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Mar 2013 16:37:00 +0000 (16:37 +0000)
commitb983ea33d0fe26944fd4276c225ed9eb744c30f2
tree763d9ae5800f6d6a19f7446337ea0119f8095e00
parentdae4abaa26f690d5df1b3bb4e47668ebbdf331cb
* df.h (df_insn_delete): Adjust prototype.
* emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete
and let it decide whether mark the basic block dirty.
(set_insn_deleted): Only pass INSN_P insns to df_insn_delete.
* df-scan.c (df_insn_info_delete): New helper function, split
off from df_insn_delete.
(df_scan_free_bb_info): Use it.
(df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans):
Likewise.
(df_insn_delete): Likewise.  Take insn rtx as argument.  Verify
that the insn is actually an insn and it has a non-NULL basic block.
Do not mark basic block dirty if only deleting a DEBUG_INSN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196977 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/df-scan.c
gcc/df.h
gcc/emit-rtl.c