summaryrefslogtreecommitdiff
path: root/gcc/reginfo.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-22 20:19:07 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-22 20:19:07 +0000
commitc72f6e470ee69567f2599352616ab9d913198179 (patch)
tree0679cb56fef1bd6c190c3c0d8e4e2fc983195a2b /gcc/reginfo.c
parent0991de81c45d1a37123e52fda1328929fcc084c7 (diff)
downloadlinaro-gcc-c72f6e470ee69567f2599352616ab9d913198179.tar.gz
linaro-gcc-c72f6e470ee69567f2599352616ab9d913198179.tar.bz2
linaro-gcc-c72f6e470ee69567f2599352616ab9d913198179.zip
reginfo.c: Use rtx_insn (also touches rtl.h)
gcc/ * rtl.h (reg_scan): Strengthen param "f" from rtx to rtx_insn *. * reginfo.c (reg_scan): Likewise, also for local "insn". (reg_scan_mark_refs): Likewise for param "insn". (init_subregs_of_mode): Likewise for local "insn". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214367 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r--gcc/reginfo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c
index 7668be02dcd..8fd5a68660c 100644
--- a/gcc/reginfo.c
+++ b/gcc/reginfo.c
@@ -1022,12 +1022,12 @@ setup_reg_classes (int regno,
again just before loop. It finds the first and last use of each
pseudo-register. */
-static void reg_scan_mark_refs (rtx, rtx);
+static void reg_scan_mark_refs (rtx, rtx_insn *);
void
-reg_scan (rtx f, unsigned int nregs ATTRIBUTE_UNUSED)
+reg_scan (rtx_insn *f, unsigned int nregs ATTRIBUTE_UNUSED)
{
- rtx insn;
+ rtx_insn *insn;
timevar_push (TV_REG_SCAN);
@@ -1048,7 +1048,7 @@ reg_scan (rtx f, unsigned int nregs ATTRIBUTE_UNUSED)
We should only record information for REGs with numbers
greater than or equal to MIN_REGNO. */
static void
-reg_scan_mark_refs (rtx x, rtx insn)
+reg_scan_mark_refs (rtx x, rtx_insn *insn)
{
enum rtx_code code;
rtx dest;
@@ -1259,7 +1259,7 @@ void
init_subregs_of_mode (void)
{
basic_block bb;
- rtx insn;
+ rtx_insn *insn;
bitmap_obstack srom_obstack;
bitmap subregs_of_mode;