Hello,

They're defined and only used in emit-rtl.c so they can be static
(like make_call_insn_raw).

Bootstrapped&tested on x86_64-unknown-linux-gnu.
Will commit as obvious later this week if no-one objects.

Ciao!
Steven

        * emit-rtl.c (make_debug_insn_raw, make_jump_insn_raw): Make static.
        * rtl.h (make_debug_insn_raw, make_jump_insn_raw): Remove prototypes.

Index: emit-rtl.c
===================================================================
--- emit-rtl.c  (revision 189423)
+++ emit-rtl.c  (working copy)
@@ -149,7 +149,6 @@ static GTY ((if_marked ("ggc_marked_p"),
 #define cur_debug_insn_uid (crtl->emit.x_cur_debug_insn_uid)
 #define first_label_num (crtl->emit.x_first_label_num)

-static rtx make_call_insn_raw (rtx);
 static rtx change_address_1 (rtx, enum machine_mode, rtx, int);
 static void set_used_decls (tree);
 static void mark_label_nuses (rtx);
@@ -3692,7 +3691,7 @@ make_insn_raw (rtx pattern)

 /* Like `make_insn_raw' but make a DEBUG_INSN instead of an insn.  */

-rtx
+static rtx
 make_debug_insn_raw (rtx pattern)
 {
   rtx insn;
@@ -3713,7 +3712,7 @@ make_debug_insn_raw (rtx pattern)

 /* Like `make_insn_raw' but make a JUMP_INSN instead of an insn.  */

-rtx
+static rtx
 make_jump_insn_raw (rtx pattern)
 {
   rtx insn;
Index: rtl.h
===================================================================
--- rtl.h       (revision 189424)
+++ rtl.h       (working copy)
@@ -1777,8 +1777,6 @@ extern rtx emit_clobber (rtx);
 extern rtx gen_use (rtx);
 extern rtx emit_use (rtx);
 extern rtx make_insn_raw (rtx);
-extern rtx make_debug_insn_raw (rtx);
-extern rtx make_jump_insn_raw (rtx);
 extern void add_function_usage_to (rtx, rtx);
 extern rtx last_call_insn (void);
 extern rtx previous_insn (rtx);

Reply via email to