Example of converting global state to per-pass state.
gcc/testsuite 2013-08-13 David Malcolm <dmalcolm@redhat.com> Example of converting global state to per-pass state. * gcc.dg/plugin/one_time_plugin.c (one_pass::execute): Convert global state "static int counter" to... (one_pass::counter): ...this instance data. From-SVN: r201681
Showing
Please
register
or
sign in
to comment