summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regclass.c')
-rwxr-xr-xgcc/regclass.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index aed05c2..33ab57f 100755
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -667,7 +667,6 @@ static int loop_depth;
static int loop_cost;
-static int n_occurrences (int, char *);
static rtx scan_one_insn (rtx, int);
static void record_reg_classes (int, int, rtx *, enum machine_mode *,
char **, rtx);
@@ -717,18 +716,6 @@ regclass_init ()
before regclass is run. */
prefclass = 0;
}
-
-/* Return the number of times character C occurs in string S. */
-static int
-n_occurrences (c, s)
- int c;
- char *s;
-{
- int n = 0;
- while (*s)
- n += (*s++ == c);
- return n;
-}
/* Subroutine of regclass, processes one insn INSN. Scan it and record each
time it would save code to put a certain register in a certain class.