Commit 56c51155 by Brian Hackett Committed by Rafael Espindola

plugins.texi: Rename pre-genericize event.

2009-12-22  Brian Hackett  <bhackett1024@gmail.com>

	* doc/plugins.texi: Rename pre-genericize event.

2009-12-22  Brian Hackett  <bhackett1024@gmail.com>

	* g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event.
	* g++.dg/plugin/dumb_plugin.c: Same.

From-SVN: r155401
parent 67018619
2009-12-22 Brian Hackett <bhackett1024@gmail.com>
* doc/plugins.texi: Rename pre-genericize event.
2009-12-22 Paolo Carlini <paolo.carlini@oracle.com> 2009-12-22 Paolo Carlini <paolo.carlini@oracle.com>
PR driver/42463 PR driver/42463
...@@ -145,7 +145,7 @@ enum plugin_event ...@@ -145,7 +145,7 @@ enum plugin_event
PLUGIN_PASS_MANAGER_SETUP, /* To hook into pass manager. */ PLUGIN_PASS_MANAGER_SETUP, /* To hook into pass manager. */
PLUGIN_FINISH_TYPE, /* After finishing parsing a type. */ PLUGIN_FINISH_TYPE, /* After finishing parsing a type. */
PLUGIN_FINISH_UNIT, /* Useful for summary processing. */ PLUGIN_FINISH_UNIT, /* Useful for summary processing. */
PLUGIN_CXX_CP_PRE_GENERICIZE, /* Allows to see low level AST in C++ FE. */ PLUGIN_PRE_GENERICIZE, /* Allows to see low level AST in C and C++ frontends. */
PLUGIN_FINISH, /* Called before GCC exits. */ PLUGIN_FINISH, /* Called before GCC exits. */
PLUGIN_INFO, /* Information about the plugin. */ PLUGIN_INFO, /* Information about the plugin. */
PLUGIN_GGC_START, /* Called at start of GCC Garbage Collection. */ PLUGIN_GGC_START, /* Called at start of GCC Garbage Collection. */
......
2009-12-22 Brian Hackett <bhackett1024@gmail.com>
* g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event.
* g++.dg/plugin/dumb_plugin.c: Same.
2009-12-21 Jason Merrill <jason@redhat.com> 2009-12-21 Jason Merrill <jason@redhat.com>
* g++.dg/abi/mangle14.C: Add expected mangling. * g++.dg/abi/mangle14.C: Add expected mangling.
......
...@@ -60,7 +60,7 @@ plugin_init (struct plugin_name_args *plugin_info, ...@@ -60,7 +60,7 @@ plugin_init (struct plugin_name_args *plugin_info,
struct plugin_gcc_version *version) struct plugin_gcc_version *version)
{ {
const char *plugin_name = plugin_info->base_name; const char *plugin_name = plugin_info->base_name;
register_callback (plugin_name, PLUGIN_CXX_CP_PRE_GENERICIZE, register_callback (plugin_name, PLUGIN_PRE_GENERICIZE,
handle_pre_generic, NULL); handle_pre_generic, NULL);
register_callback (plugin_name, PLUGIN_ATTRIBUTES, register_attributes, NULL); register_callback (plugin_name, PLUGIN_ATTRIBUTES, register_attributes, NULL);
......
...@@ -130,7 +130,7 @@ plugin_init (struct plugin_name_args *plugin_info, ...@@ -130,7 +130,7 @@ plugin_init (struct plugin_name_args *plugin_info,
register_callback (plugin_name, PLUGIN_FINISH_TYPE, handle_struct, NULL); register_callback (plugin_name, PLUGIN_FINISH_TYPE, handle_struct, NULL);
register_callback (plugin_name, PLUGIN_CXX_CP_PRE_GENERICIZE, register_callback (plugin_name, PLUGIN_PRE_GENERICIZE,
handle_pre_generic, NULL); handle_pre_generic, NULL);
register_callback (plugin_name, PLUGIN_FINISH_UNIT, register_callback (plugin_name, PLUGIN_FINISH_UNIT,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment