diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-05 16:15:54 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-05 16:15:54 +0000 |
commit | 2a17b85d9c4ada0ab46764d10b25c6d9c7f78e88 (patch) | |
tree | f06ad5b6a7a59f8f1dc518bd926d64f558f178fc /gcc/doc/plugins.texi | |
parent | 242994e00b3351b937647f416fbb2a5511493bb7 (diff) | |
download | gcc-2a17b85d9c4ada0ab46764d10b25c6d9c7f78e88.tar.gz |
./:
* doc/plugins.texi: Change plugin_pass to register_pass_info.
testsuite/:
* gcc.dg/plugin/selfassign.c (plugin_init): Change plugin_pass to
register_pass_info.
* gcc.dg/plugin/one_time_plugin.c (plugin_init): Change
plugin_pass to register_pass_info.
* g++.dg/plugin/selfassign.c (plugin_init): Change plugin_pass to
register_pass_info.
* g++.dg/plugin/dumb_plugin.c (plugin_init): Change plugin_pass to
register_pass_info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152456 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/plugins.texi')
-rw-r--r-- | gcc/doc/plugins.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/plugins.texi b/gcc/doc/plugins.texi index bb32bccbf18..f784953b5f4 100644 --- a/gcc/doc/plugins.texi +++ b/gcc/doc/plugins.texi @@ -165,7 +165,7 @@ such as CFG or an IPA pass) and optimization plugins. Basic support for inserting new passes or replacing existing passes is provided. A plugin registers a new pass with GCC by calling @code{register_callback} with the @code{PLUGIN_PASS_MANAGER_SETUP} -event and a pointer to a @code{struct plugin_pass} object defined as follows +event and a pointer to a @code{struct register_pass_info} object defined as follows @smallexample enum pass_positioning_ops @@ -175,7 +175,7 @@ enum pass_positioning_ops PASS_POS_REPLACE // Replace the reference pass. @}; -struct plugin_pass +struct register_pass_info @{ struct opt_pass *pass; /* New pass provided by the plugin. */ const char *reference_pass_name; /* Name of the reference pass for hooking @@ -192,7 +192,7 @@ int plugin_init (struct plugin_name_args *plugin_info, struct plugin_gcc_version *version) @{ - struct plugin_pass pass_info; + struct register_pass_info pass_info; ... |