aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2001-05-11 15:54:19 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-05-11 15:54:19 +0000
commit2868054066ce6693f9d99fb834ae366e94cefd56 (patch)
tree7e8f2fa2de2821974241456f1c9e7c9a00401659 /gcc/loop.h
parent897aa57fd0e7e7f32540b0fc66cb2534172b10a2 (diff)
downloadgcc-2868054066ce6693f9d99fb834ae366e94cefd56.zip
gcc-2868054066ce6693f9d99fb834ae366e94cefd56.tar.gz
gcc-2868054066ce6693f9d99fb834ae366e94cefd56.tar.bz2
loop.h (struct movables): Remove `num'.
* 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. From-SVN: r41966
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index cfec993..1794730 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;
};