summaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-01 00:37:09 +0000
committerm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-01 00:37:09 +0000
commitb995c337fde8b193359291a3f9631f80aaad69d0 (patch)
tree3b42886d723fcd6825f532d5914608cc58485318 /gcc/loop.h
parenta3915b3216caf3914b08a7be8b18eadcdcc70cda (diff)
downloadgcc-b995c337fde8b193359291a3f9631f80aaad69d0.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38580 138bc75d-0d04-0410-961f-82ee72b054a4
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 bea5a808e72..7ca9b06a0ff 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. */