aboutsummaryrefslogtreecommitdiff
path: root/gcc/df.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2013-03-22 16:37:00 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2013-03-22 16:37:00 +0000
commit80eb8028ebbb183885946c80402b59dcbd002f69 (patch)
tree763d9ae5800f6d6a19f7446337ea0119f8095e00 /gcc/df.h
parentf13a8728c143fe1aacc103c38463f19d829c9857 (diff)
downloadgcc-80eb8028ebbb183885946c80402b59dcbd002f69.zip
gcc-80eb8028ebbb183885946c80402b59dcbd002f69.tar.gz
gcc-80eb8028ebbb183885946c80402b59dcbd002f69.tar.bz2
df.h (df_insn_delete): Adjust prototype.
* 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. From-SVN: r196977
Diffstat (limited to 'gcc/df.h')
-rw-r--r--gcc/df.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/df.h b/gcc/df.h
index c2bb826..716ce0c 100644
--- a/gcc/df.h
+++ b/gcc/df.h
@@ -996,7 +996,7 @@ extern df_ref df_ref_create (rtx, rtx *, rtx,basic_block,
extern void df_uses_create (rtx *, rtx, int);
extern void df_ref_remove (df_ref);
extern struct df_insn_info * df_insn_create_insn_record (rtx);
-extern void df_insn_delete (basic_block, unsigned int);
+extern void df_insn_delete (rtx);
extern void df_bb_refs_record (int, bool);
extern bool df_insn_rescan (rtx);
extern bool df_insn_rescan_debug_internal (rtx);