diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-17 19:48:50 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-17 19:48:50 +0000 |
commit | 9ba78c6a99a114f5e01304cbbebfa12e2af95057 (patch) | |
tree | 5ef9bb2f2ce20c2f9043d25d5b9e1dbe728a28c9 /gcc/cfgloopanal.c | |
parent | 8d453ddb1de7c051409ad292b3eda08656cfdfdd (diff) | |
download | gcc-9ba78c6a99a114f5e01304cbbebfa12e2af95057.tar.gz |
* cfgloop.h (just_once_each_iteration_p): Declaration changed.
* cfgloopanal.c (just_once_each_iteration_p): Make the loop argument
const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopanal.c')
-rw-r--r-- | gcc/cfgloopanal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c index ca788af37af..db46c906251 100644 --- a/gcc/cfgloopanal.c +++ b/gcc/cfgloopanal.c @@ -33,7 +33,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA /* Checks whether BB is executed exactly once in each LOOP iteration. */ bool -just_once_each_iteration_p (struct loop *loop, basic_block bb) +just_once_each_iteration_p (const struct loop *loop, basic_block bb) { /* It must be executed at least once each iteration. */ if (!dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) |