summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-28 20:51:33 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-28 20:51:33 +0000
commit28fbb2b591b26ff08eaea6cdd62349d3a57579e0 (patch)
tree997fcf60c95c1b890af53a0f5892e76e2db20710 /gcc/rtl.h
parent35f8d1c290352d5459f91d2f8a57c3ecadb6168e (diff)
downloadgcc-28fbb2b591b26ff08eaea6cdd62349d3a57579e0.tar.gz
tablejump_p takes an rtx_insn
gcc/ 2014-08-28 David Malcolm <dmalcolm@redhat.com> * rtl.h (tablejump_p): Strengthen first param from const_rtx to const rtx_insn *. (label_is_jump_target_p): Likewise for second param. * rtlanal.c (tablejump_p): Likewise for param "insn". (label_is_jump_target_p): Likewise for param "jump_insn". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214696 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 45cbe52070c..89431a933cb 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2795,7 +2795,7 @@ extern rtx replace_rtx (rtx, rtx, rtx);
extern void replace_label (rtx *, rtx, rtx, bool);
extern void replace_label_in_insn (rtx_insn *, rtx, rtx, bool);
extern bool rtx_referenced_p (const_rtx, const_rtx);
-extern bool tablejump_p (const_rtx, rtx *, rtx_jump_table_data **);
+extern bool tablejump_p (const rtx_insn *, rtx *, rtx_jump_table_data **);
extern int computed_jump_p (const_rtx);
extern bool tls_referenced_p (const_rtx);
@@ -2831,7 +2831,7 @@ extern void remove_node_from_insn_list (const rtx_insn *, rtx_insn_list **);
extern int loc_mentioned_in_p (rtx *, const_rtx);
extern rtx_insn *find_first_parameter_load (rtx_insn *, rtx_insn *);
extern bool keep_with_call_p (const_rtx);
-extern bool label_is_jump_target_p (const_rtx, const_rtx);
+extern bool label_is_jump_target_p (const_rtx, const rtx_insn *);
extern int insn_rtx_cost (rtx, bool);
/* Given an insn and condition, return a canonical description of