aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2001-01-01 00:37:09 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2001-01-01 00:37:09 +0000
commit8b634749abb593dd61bbb3b4c0c8eb6861b92c65 (patch)
tree3b42886d723fcd6825f532d5914608cc58485318 /gcc/loop.h
parentb4ae520152976c22948e7c90360dcd93aacf2f88 (diff)
downloadgcc-8b634749abb593dd61bbb3b4c0c8eb6861b92c65.zip
gcc-8b634749abb593dd61bbb3b4c0c8eb6861b92c65.tar.gz
gcc-8b634749abb593dd61bbb3b4c0c8eb6861b92c65.tar.bz2
loop.h (REG_IV_CLASS): New accessor macro.
* loop.h (REG_IV_CLASS): New accessor macro. * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array. * unroll.c (REG_IV_CLASS): Likewise. From-SVN: r38580
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index bea5a80..7ca9b06 100644
--- a/gcc/loop.h
+++ b/gcc/loop.h
@@ -363,6 +363,7 @@ extern FILE *loop_dump_stream;
(*(enum iv_mode *) &VARRAY_INT(ivs->reg_iv_type, (n)))
#define REG_IV_INFO(ivs, n) \
(*(struct induction **) &VARRAY_GENERIC_PTR(ivs->reg_iv_info, (n)))
+#define REG_IV_CLASS(ivs, n) ivs->reg_biv_class[n]
/* Forward declarations for non-static functions declared in loop.c and
unroll.c. */