This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GSoC][match-and-simplify] include is-a.h


On Sun, Jul 27, 2014 at 11:05 PM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> Is it okay to include is-a.h ?
> I have adjusted print_operand to use is_a<> and as_a<> in this patch.
>
> * genmatch.c (is-a.h): Include.
>     (is_a_helper::test): Specialize for operand subclasses.
>     (print_operand): Adjust to use is_a and as_a.

Yes, this is fine.

Applied.

Thanks,
Richard.

> Thanks,
> Prathamesh.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]