[patch 2/3] tm.texi documentation on macro PREFERRED_RENAME_CLASS
Anatoly Sokolov
aesok@post.ru
Wed Oct 27 18:23:00 GMT 2010
Hi
Use reg_class_t instead of enum reg_class in midle end.
> + enum reg_class cl;
+ reg_class_t cl;
> if (DEBUG_INSN_P (tmp->insn))
> continue;
> n_uses++;
>+ cl = (enum reg_class)
>+ targetm.preferred_rename_class(tmp->cl);
+ cl = targetm.preferred_rename_class(tmp->cl);
> IOR_COMPL_HARD_REG_SET (this_unavailable,
>- reg_class_contents[tmp->cl]);
>+ reg_class_contents[cl]);
+ reg_class_contents[(int) cl]);
Anatoly.
More information about the Gcc-patches
mailing list