]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Adjust placement of protoype for tablejump_casesi_pattern
authorOlivier Hainque <hainque@adacore.com>
Tue, 13 Aug 2019 11:16:18 +0000 (11:16 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Tue, 13 Aug 2019 11:16:18 +0000 (11:16 +0000)
So it appears next to the prototype of tablejump_p, matching
the definition placement in rtlanal.c.

From-SVN: r274378

gcc/ChangeLog
gcc/rtl.h

index aa036ca8c52f0c194c29976a206a63509fd6b4a6..5739f22c4d2803bd5e651fcea2472d2877673517 100644 (file)
@@ -1,3 +1,7 @@
+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
index bb67a133142edaf04b8326a0606be2bc59e2040f..efb9b3ce40da66f0d02940e72b53c25e880c33fb 100644 (file)
--- 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);