summaryrefslogtreecommitdiff
path: root/gcc/gcc-plugin.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-28 23:15:35 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-28 23:15:35 +0000
commit3efe62a1e32fd627e119c0e14f43a2e8c9149278 (patch)
tree35f1885df6f021b7379543790ddaa2f2def2a72f /gcc/gcc-plugin.h
parent80b483b52f4fb4eaa0bd1953c6eadbdfb1fff48d (diff)
downloadgcc-3efe62a1e32fd627e119c0e14f43a2e8c9149278.tar.gz
* tree-pass.h (register_pass_info): New structure.
(pass_positioning_ops): Move enum from gcc-plugin.h. (register_pass): New function. * gcc-plugin.h (plugin_pass): Delete structure. (pass_positioning_ops): Delete enum. * plugin.c (regsiter_pass): Delete function. (position_pass): Delete function. (added_pass_nodes): Delete variable. (prev_added_pass_nodes): Delete variable. (pass_list_node): Delete structure. * passes.c (make_pass_instance): New function. (next_pass_1): Change to call make_pass_instance. (pass_list_node): Move structure from gcc-plugin.h. (added_pass_nodes): Move variable from plugin.c. (prev_added_pass_nodes): Move variable from plugin.c. (position_pass): New function. (register_pass): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc-plugin.h')
-rw-r--r--gcc/gcc-plugin.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/gcc-plugin.h b/gcc/gcc-plugin.h
index 84f0aedb1b3..1792c0393a2 100644
--- a/gcc/gcc-plugin.h
+++ b/gcc/gcc-plugin.h
@@ -55,24 +55,6 @@ struct plugin_argument
char *value; /* value is optional and can be NULL. */
};
-enum pass_positioning_ops
-{
- PASS_POS_INSERT_AFTER, /* Insert after the reference pass. */
- PASS_POS_INSERT_BEFORE, /* Insert before the reference pass. */
- PASS_POS_REPLACE /* Replace the reference pass. */
-};
-
-struct plugin_pass
-{
- struct opt_pass *pass; /* New pass provided by the plugin. */
- const char *reference_pass_name; /* Name of the reference pass for hooking
- up the new pass. */
- int ref_pass_instance_number; /* Insert the pass at the specified
- instance number of the reference pass.
- Do it for every instance if it is 0. */
- enum pass_positioning_ops pos_op; /* how to insert the new pass. */
-};
-
/* Additional information about the plugin. Used by --help and --version. */
struct plugin_info