diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2008-05-08 21:28:27 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2008-05-08 21:28:27 +0000 |
commit | e663da80d4c288b804a1ae2e04544b7e668080ce (patch) | |
tree | be8f401f9b48aa6d624266499579b7f40d103455 /gcc/tree-complex.c | |
parent | 977502ff8431f42bc84b71dd5814658439610c7b (diff) | |
download | gcc-e663da80d4c288b804a1ae2e04544b7e668080ce.zip gcc-e663da80d4c288b804a1ae2e04544b7e668080ce.tar.gz gcc-e663da80d4c288b804a1ae2e04544b7e668080ce.tar.bz2 |
gensupport.h (pred_data): Add a "num_codes" field.
gcc/
* gensupport.h (pred_data): Add a "num_codes" field.
(add_predicate_code): Declare.
* gensupport.c (add_predicate_code): New function.
(std_pred_table): Add an "allows_const_p" field.
(std_preds): Set this field for predicates that allow RTX_CONST_OBJs.
Remove the (incomplete) list of such codes from the codes field.
(init_predicate_table): Use add_predicate_code. Add all
RTX_CONST_OBJs if allows_const_p is true.
* genrecog.c (process_define_predicate): Use add_predicate_code.
From-SVN: r135090
Diffstat (limited to 'gcc/tree-complex.c')
0 files changed, 0 insertions, 0 deletions