diff options
author | David Malcolm <dmalcolm@redhat.com> | 2013-08-13 00:45:27 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2013-08-13 00:45:27 +0000 |
commit | 3944d88d35e71f0aaf58c2c82bc7cf34414cb6ac (patch) | |
tree | 781c743dbfc59857fc8546c78365b19a3a58d137 /gcc/tree-data-ref.c | |
parent | b338b23f8875f26f1c4f598faac6c36874ae48f2 (diff) | |
download | gcc-3944d88d35e71f0aaf58c2c82bc7cf34414cb6ac.zip gcc-3944d88d35e71f0aaf58c2c82bc7cf34414cb6ac.tar.gz gcc-3944d88d35e71f0aaf58c2c82bc7cf34414cb6ac.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions