summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sched-deps.c4
-rw-r--r--gcc/sched-int.h4
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6804c36605e..b077c82d5bc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * sched-deps.c: Change argument types to rtx_insn *.
+ * sched-int.h: Adjust.
+
+2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* dwarf2cfi.c: Change argument type to rtx_insn *.
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
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);