aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2011-04-12 12:51:10 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-04-12 12:51:10 +0000
commit77059241d8049bd7626ce216caf0313a2fa964c2 (patch)
treec16e8997e9a9118ec5c396648da48b7cba99bbb0 /gcc/objc
parent6308e208c21b6c31a4ed5e89dd02dd5880c3e346 (diff)
downloadgcc-77059241d8049bd7626ce216caf0313a2fa964c2.zip
gcc-77059241d8049bd7626ce216caf0313a2fa964c2.tar.gz
gcc-77059241d8049bd7626ce216caf0313a2fa964c2.tar.bz2
genpreds.c (process_define_predicate): Move most processing to gensupport.c.
gcc/ * genpreds.c (process_define_predicate): Move most processing to gensupport.c. Continue to validate the expression. * genrecog.c (did_you_mean_codes, compute_predicate_codes) (process_define_predicate): Move processing to gensupport.c. (main): Remove DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE cases. * gensupport.c (did_you_mean_codes): Moved from genrecog.c. (compute_predicate_codes): Moved from genrecog.c. Add lineno argument. (valid_predicate_name_p): New function, split out from old genpreds.c:process_define_predicate. (process_define_predicate): New function, combining code from old genpreds.c and genrecog.c functions. (process_rtx): Call it for DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE. From-SVN: r172315
Diffstat (limited to 'gcc/objc')
0 files changed, 0 insertions, 0 deletions