summaryrefslogtreecommitdiff
path: root/gcc/init-regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/init-regs.c')
-rw-r--r--gcc/init-regs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/init-regs.c b/gcc/init-regs.c
index b835de07513..83abe715971 100644
--- a/gcc/init-regs.c
+++ b/gcc/init-regs.c
@@ -139,8 +139,10 @@ rest_of_handle_initialize_regs (void)
return 0;
}
-struct tree_opt_pass pass_initialize_regs =
+struct rtl_opt_pass pass_initialize_regs =
{
+ {
+ RTL_PASS,
"init-regs", /* name */
gate_initialize_regs, /* gate */
rest_of_handle_initialize_regs, /* execute */
@@ -153,6 +155,6 @@ struct tree_opt_pass pass_initialize_regs =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func |
- TODO_df_finish, /* todo_flags_finish */
- 0 /* letter */
+ TODO_df_finish /* todo_flags_finish */
+ }
};