diff options
author | YamaArashi <shadow962@live.com> | 2016-07-25 23:08:34 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-07-25 23:08:34 -0700 |
commit | 055f692f630b8d6bee804c8d349d7c71a6b43798 (patch) | |
tree | 37b8fae7f85c15b34b53301dc94ebb2d7bd1c32c /gcc/regclass.c | |
parent | 0c55c65a7566a9bdb80cbc73a68e600c10d6d2b3 (diff) |
remove unused static functions
Diffstat (limited to 'gcc/regclass.c')
-rwxr-xr-x | gcc/regclass.c | 13 |
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. |