From fd769c943d8d5fdc765cb4bbefa6e75fe0a4cf9c Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:17:28 +0000 Subject: [PATCH] find_all_hard_reg_sets can take a rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtl.h: Adjust. * rtlanal.c: Change argument type to rtx_insn *. From-SVN: r222955 --- gcc/ChangeLog | 5 +++++ gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b077c82d5bc..6811ea17408 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-08 Trevor Saunders + + * rtl.h: Adjust. + * rtlanal.c: Change argument type to rtx_insn *. + 2015-05-08 Trevor Saunders * sched-deps.c: Change argument types to rtx_insn *. diff --git a/gcc/rtl.h b/gcc/rtl.h index 80c0e5c7aba..dbb5ca23ff8 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2852,7 +2852,7 @@ extern void record_hard_reg_sets (rtx, const_rtx, void *); extern void record_hard_reg_uses (rtx *, void *); #ifdef HARD_CONST extern void find_all_hard_regs (const_rtx, HARD_REG_SET *); -extern void find_all_hard_reg_sets (const_rtx, HARD_REG_SET *, bool); +extern void find_all_hard_reg_sets (const rtx_insn *, HARD_REG_SET *, bool); #endif extern void note_stores (const_rtx, void (*) (rtx, const_rtx, void *), void *); extern void note_uses (rtx *, void (*) (rtx *, void *), void *); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 9760babbe4c..00d90809cb4 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1197,7 +1197,7 @@ record_hard_reg_sets (rtx x, const_rtx pat ATTRIBUTE_UNUSED, void *data) /* Examine INSN, and compute the set of hard registers written by it. Store it in *PSET. Should only be called after reload. */ void -find_all_hard_reg_sets (const_rtx insn, HARD_REG_SET *pset, bool implicit) +find_all_hard_reg_sets (const rtx_insn *insn, HARD_REG_SET *pset, bool implicit) { rtx link; -- 2.30.2