On 07/26/2013 05:04 AM, David Malcolm wrote:
> This is an example of converting the "gate" and "execute" functions of
> a pass into C++ virtual functions, so that in the next patch we can move
> a variable into member data of the opt_pass subclass.
> 
> gcc/testsuite/
> 
>       * gcc.dg/plugin/one_time_plugin.c: (one_pass_gate): convert
>       to member function...
>       (one_pass::gate): ...this
>       (one_pass_exec): convert to member function...
>       (one_pass::impl_execute): ...this

Ok.


r~

Reply via email to