From 3a6216b099bdb106d9e1fe496d92592b54fc7a62 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:16:43 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/emit-rtl.c | 2 +- gcc/rtl.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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); -- 2.30.2