From: Trevor Saunders Date: Sat, 9 May 2015 04:17:22 +0000 (+0000) Subject: more rtx_insn * in sched-deps.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df8379e7c426b8354ea58631c76b1206de8c62fd;p=gcc.git more rtx_insn * in sched-deps.c gcc/ChangeLog: 2015-05-08 Trevor Saunders * sched-deps.c: Change argument types to rtx_insn *. * sched-int.h: Adjust. From-SVN: r222954 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6804c36605e..b077c82d5bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-08 Trevor Saunders + + * sched-deps.c: Change argument types to rtx_insn *. + * sched-int.h: Adjust. + 2015-05-08 Trevor Saunders * dwarf2cfi.c: Change argument type to rtx_insn *. diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index b6130eed1c5..24104e0b4cd 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -814,7 +814,7 @@ sd_lists_empty_p (const_rtx insn, sd_list_types_def list_types) /* Initialize data for INSN. */ void -sd_init_insn (rtx insn) +sd_init_insn (rtx_insn *insn) { INSN_HARD_BACK_DEPS (insn) = create_deps_list (); INSN_SPEC_BACK_DEPS (insn) = create_deps_list (); @@ -827,7 +827,7 @@ sd_init_insn (rtx insn) /* Free data for INSN. */ void -sd_finish_insn (rtx insn) +sd_finish_insn (rtx_insn *insn) { /* ??? It would be nice to deallocate dependency caches here. */ diff --git a/gcc/sched-int.h b/gcc/sched-int.h index c93412e0108..216cd58603f 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1649,8 +1649,8 @@ sd_iterator_next (sd_iterator_def *it_ptr) extern int sd_lists_size (const_rtx, sd_list_types_def); extern bool sd_lists_empty_p (const_rtx, sd_list_types_def); -extern void sd_init_insn (rtx); -extern void sd_finish_insn (rtx); +extern void sd_init_insn (rtx_insn *); +extern void sd_finish_insn (rtx_insn *); extern dep_t sd_find_dep_between (rtx, rtx, bool); extern void sd_add_dep (dep_t, bool); extern enum DEPS_ADJUST_RESULT sd_add_or_update_dep (dep_t, bool);