r172315 - in /trunk/gcc: ChangeLog genpreds.c g...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Tue Apr 12 12:51:00 GMT 2011
Author: rsandifo
Date: Tue Apr 12 12:51:10 2011
New Revision: 172315
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172315
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/genpreds.c
trunk/gcc/genrecog.c
trunk/gcc/gensupport.c
More information about the Gcc-cvs
mailing list