From: Trevor Saunders Date: Sat, 9 May 2015 04:16:43 +0000 (+0000) Subject: make emit_debug_insn_before take a rtx_insn * X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a6216b099bdb106d9e1fe496d92592b54fc7a62;p=gcc.git make emit_debug_insn_before take a rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * emit-rtl.c (emit_debug_insn_before): Change argument type to rtx_insn *. * rtl.h: Adjust. From-SVN: r222947 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b928d40e4f8..b59146f231a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-05-08 Trevor Saunders + + * emit-rtl.c (emit_debug_insn_before): Change argument type to + rtx_insn *. + * rtl.h: Adjust. + 2015-05-08 Trevor Saunders * emit-rtl.c (emit_note_before): Change argument type to rtx_insn *. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 6e70c582996..d5e09c26f04 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -4880,7 +4880,7 @@ emit_debug_insn_before_setloc (rtx pattern, rtx before, int loc) /* Like emit_debug_insn_before_noloc, but set insn_location according to BEFORE. */ rtx_insn * -emit_debug_insn_before (rtx pattern, rtx before) +emit_debug_insn_before (rtx pattern, rtx_insn *before) { return emit_pattern_before (pattern, before, false, false, make_debug_insn_raw); diff --git a/gcc/rtl.h b/gcc/rtl.h index ee3eccae518..80c0e5c7aba 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2666,7 +2666,7 @@ extern rtx_insn *emit_jump_insn_before_setloc (rtx, rtx_insn *, int); extern rtx_insn *emit_call_insn_before (rtx, rtx_insn *); extern rtx_insn *emit_call_insn_before_noloc (rtx, rtx_insn *); extern rtx_insn *emit_call_insn_before_setloc (rtx, rtx_insn *, int); -extern rtx_insn *emit_debug_insn_before (rtx, rtx); +extern rtx_insn *emit_debug_insn_before (rtx, rtx_insn *); extern rtx_insn *emit_debug_insn_before_noloc (rtx, rtx); extern rtx_insn *emit_debug_insn_before_setloc (rtx, rtx, int); extern rtx_barrier *emit_barrier_before (rtx);