diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-07-16 13:50:08 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-07-16 13:50:08 +0000 |
commit | c9f84f2e1d697a8d6a6e696bd26933ca4a858da0 (patch) | |
tree | b2ee1ab0865bf93d131b453a750d3d087b3fd325 /gcc/gensupport.h | |
parent | ca018d3cc0872d88bf3ffab1dc4e11bab6041d8c (diff) |
gensupport.h (compute_test_codes): Take a file_location rather than a line number.
gcc/
* gensupport.h (compute_test_codes): Take a file_location rather
than a line number.
* gensupport.c (compute_test_codes): Likewise. Use *_at functions
rather than *_with_line functions.
(process_define_predicate): Update call to compute_test_codes.
* genpreds.c (validate_exp): Take a file_location rather than a
line number. Use *_at functions rather than *_with_line functions.
(process_define_predicate): Update call to validate_exp.
(constraint_data): Replace lineno field with a file_location.
(add_constraint): Take a file_location rather than a line number.
Use *_at functions rather than *_with_line functions. Fix error
message for address constraints. Update after changes to
validate_exp, constraint_data and compute_test_codes.
(process_define_constraint): Update accordingly.
(process_define_register_constraint): Likewise.
From-SVN: r225882
Diffstat (limited to 'gcc/gensupport.h')
-rw-r--r-- | gcc/gensupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gensupport.h b/gcc/gensupport.h index 97f9a72b100..fc0e8491f10 100644 --- a/gcc/gensupport.h +++ b/gcc/gensupport.h @@ -110,7 +110,7 @@ struct pattern_stats }; extern void get_pattern_stats (struct pattern_stats *ranges, rtvec vec); -extern void compute_test_codes (rtx, int, char *); +extern void compute_test_codes (rtx, file_location, char *); extern const char *get_emit_function (rtx); extern bool needs_barrier_p (rtx); |