diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-11 15:54:19 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-11 15:54:19 +0000 |
commit | 85bd95435556b512eaeb6ec4abd483a938a46b6a (patch) | |
tree | 7e8f2fa2de2821974241456f1c9e7c9a00401659 /gcc/loop.h | |
parent | c198dd7476f15878680535871c0543d50dff04b7 (diff) | |
download | gcc-85bd95435556b512eaeb6ec4abd483a938a46b6a.tar.gz |
* loop.h (struct movables): Remove `num'.
* loop.c (scan_loop): Don't set it. Use count_insns_in_loop.
Adjust call to strength_reduce.
(num_unmoved_movables): New function.
(move_movables): Don't set movables->num.
(strength_reduce): Compute the number of instructions in the loop
here, rather than in the caller.
(check_dbra_loop): Always clear reversible_mem_store if there
are any memory sets.
(loop_regs_scan): Don't count instructions here.
(count_insn_in_loop): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/loop.h b/gcc/loop.h index cfec9934b20..1794730307d 100644 --- a/gcc/loop.h +++ b/gcc/loop.h @@ -289,8 +289,6 @@ struct loop_movables struct movable *head; /* Last movable in chain. */ struct movable *last; - /* Number of movables in the loop. */ - int num; }; |