Commit cf400ddb by Duncan Sands Committed by Duncan Sands

Give names to some currently nameless passes (this

is useful for referring to them from plugins).

From-SVN: r149331
parent d575725b
2009-07-07 Duncan Sands <baldrick@free.fr>
* final.c (pass_clean_state): Give the pass a name.
* passes.c (pass_rest_of_compilation): Likewise.
* tree-optimize.c (pass_all_optimizations): Likewise.
2009-07-07 H.J. Lu <hongjiu.lu@intel.com> 2009-07-07 H.J. Lu <hongjiu.lu@intel.com>
* config/ia64/ia64.c (ia64_handle_model_attribute): Remove * config/ia64/ia64.c (ia64_handle_model_attribute): Remove
......
...@@ -4451,7 +4451,7 @@ struct rtl_opt_pass pass_clean_state = ...@@ -4451,7 +4451,7 @@ struct rtl_opt_pass pass_clean_state =
{ {
{ {
RTL_PASS, RTL_PASS,
NULL, /* name */ "*clean_state", /* name */
NULL, /* gate */ NULL, /* gate */
rest_of_clean_state, /* execute */ rest_of_clean_state, /* execute */
NULL, /* sub */ NULL, /* sub */
......
...@@ -288,7 +288,7 @@ struct gimple_opt_pass pass_rest_of_compilation = ...@@ -288,7 +288,7 @@ struct gimple_opt_pass pass_rest_of_compilation =
{ {
{ {
GIMPLE_PASS, GIMPLE_PASS,
NULL, /* name */ "*rest_of_compilation", /* name */
gate_rest_of_compilation, /* gate */ gate_rest_of_compilation, /* gate */
NULL, /* execute */ NULL, /* execute */
NULL, /* sub */ NULL, /* sub */
......
...@@ -66,7 +66,7 @@ struct gimple_opt_pass pass_all_optimizations = ...@@ -66,7 +66,7 @@ struct gimple_opt_pass pass_all_optimizations =
{ {
{ {
GIMPLE_PASS, GIMPLE_PASS,
NULL, /* name */ "*all_optimizations", /* name */
gate_all_optimizations, /* gate */ gate_all_optimizations, /* gate */
NULL, /* execute */ NULL, /* execute */
NULL, /* sub */ NULL, /* sub */
......
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