summaryrefslogtreecommitdiff
path: root/gcc/tree-eh.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r--gcc/tree-eh.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index 44d5a6d59de..06e4b5a9d07 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -1725,8 +1725,10 @@ lower_eh_constructs (void)
return 0;
}
-struct tree_opt_pass pass_lower_eh =
+struct gimple_opt_pass pass_lower_eh =
{
+ {
+ GIMPLE_PASS,
"eh", /* name */
NULL, /* gate */
lower_eh_constructs, /* execute */
@@ -1738,8 +1740,8 @@ struct tree_opt_pass pass_lower_eh =
PROP_gimple_leh, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func, /* todo_flags_finish */
- 0 /* letter */
+ TODO_dump_func /* todo_flags_finish */
+ }
};
@@ -2244,8 +2246,10 @@ refactor_eh (void)
return 0;
}
-struct tree_opt_pass pass_refactor_eh =
+struct gimple_opt_pass pass_refactor_eh =
{
+ {
+ GIMPLE_PASS,
"ehopt", /* name */
NULL, /* gate */
refactor_eh, /* execute */
@@ -2257,6 +2261,6 @@ struct tree_opt_pass pass_refactor_eh =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_dump_func, /* todo_flags_finish */
- 0 /* letter */
+ TODO_dump_func /* todo_flags_finish */
+ }
};