aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2019-08-13 11:16:18 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2019-08-13 11:16:18 +0000
commit681b88eb653f3837fc01e2b87f4d274fa34737f1 (patch)
treec7a01544646db17e7535771071d53cc94e1dceee /gcc
parent3010ee5514a16902c1c31fd8afbbd0285d0134c0 (diff)
downloadgcc-681b88eb653f3837fc01e2b87f4d274fa34737f1.zip
gcc-681b88eb653f3837fc01e2b87f4d274fa34737f1.tar.gz
gcc-681b88eb653f3837fc01e2b87f4d274fa34737f1.tar.bz2
Adjust placement of protoype for tablejump_casesi_pattern
So it appears next to the prototype of tablejump_p, matching the definition placement in rtlanal.c. From-SVN: r274378
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/rtl.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa036ca..5739f22 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2019-08-13 Olivier Hainque <hainque@adacore.com>
+ * rtl.h (tablejump_casesi_pattern): Move declaration to proper spot.
+
+2019-08-13 Olivier Hainque <hainque@adacore.com>
+
* rtlanal.c (tablejump_casesi_pattern): New function, to
determine if a tablejump insn is a casesi dispatcher. Extracted
from patch_jump_insn.
diff --git a/gcc/rtl.h b/gcc/rtl.h
index bb67a13..efb9b3c 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2945,7 +2945,6 @@ extern rtvec shallow_copy_rtvec (rtvec);
extern bool shared_const_p (const_rtx);
extern rtx copy_rtx (rtx);
extern enum rtx_code classify_insn (rtx);
-extern rtx tablejump_casesi_pattern (const rtx_insn *insn);
extern void dump_rtx_statistics (void);
/* In emit-rtl.c */
@@ -3482,6 +3481,7 @@ extern void replace_label (rtx *, rtx, rtx, bool);
extern void replace_label_in_insn (rtx_insn *, rtx_insn *, rtx_insn *, bool);
extern bool rtx_referenced_p (const_rtx, const_rtx);
extern bool tablejump_p (const rtx_insn *, rtx_insn **, rtx_jump_table_data **);
+extern rtx tablejump_casesi_pattern (const rtx_insn *insn);
extern int computed_jump_p (const rtx_insn *);
extern bool tls_referenced_p (const_rtx);
extern bool contains_mem_rtx_p (rtx x);