aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc-plugin.h
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2009-09-28 23:15:35 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-09-28 23:15:35 +0000
commitb80b0fd9c7f6206708bc423d131b0365a7296736 (patch)
tree35f1885df6f021b7379543790ddaa2f2def2a72f /gcc/gcc-plugin.h
parentef6ed66d16e433f5d77e8eda02768a691a42bfd7 (diff)
downloadgcc-b80b0fd9c7f6206708bc423d131b0365a7296736.zip
gcc-b80b0fd9c7f6206708bc423d131b0365a7296736.tar.gz
gcc-b80b0fd9c7f6206708bc423d131b0365a7296736.tar.bz2
tree-pass.h (register_pass_info): New structure.
* 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. From-SVN: r152257
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 84f0aed..1792c03 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