diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-05-26 11:01:42 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-05-26 11:01:42 +0000 |
commit | 851ee5f43c954f1831ae23ec45347ce5441ebab5 (patch) | |
tree | fbc57b19f37c4860b50243a95bee808045aad0b0 /gcc/gensupport.h | |
parent | 3a37ecec8934dc378bfce06d9ea2325a98159f43 (diff) | |
download | gcc-851ee5f43c954f1831ae23ec45347ce5441ebab5.tar.gz |
gensupport.h (compute_test_codes): Declare.
gcc/
* gensupport.h (compute_test_codes): Declare.
* gensupport.c (compute_predicate_codes): Rename to...
(compute_test_codes): ...this. Generalize error message.
(process_define_predicate): Update accordingly.
* genpreds.c (compute_maybe_allows): Delete.
(add_constraint): Use compute_test_codes to determine whether
something can accept a SUBREG, REG or MEM.
From-SVN: r223687
Diffstat (limited to 'gcc/gensupport.h')
-rw-r--r-- | gcc/gensupport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gensupport.h b/gcc/gensupport.h index bb36f21d3ea..0f3f2eff031 100644 --- a/gcc/gensupport.h +++ b/gcc/gensupport.h @@ -109,5 +109,6 @@ struct pattern_stats }; extern void get_pattern_stats (struct pattern_stats *ranges, rtvec vec); +extern void compute_test_codes (rtx, int, char *); #endif /* GCC_GENSUPPORT_H */ |