aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index a20b352..4174333 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -1939,8 +1939,10 @@ predictor_name (enum br_predictor predictor)
return predictor_info[predictor].name;
}
-struct tree_opt_pass pass_profile =
+struct gimple_opt_pass pass_profile =
{
+ {
+ GIMPLE_PASS,
"profile", /* name */
gate_estimate_probability, /* gate */
tree_estimate_probability, /* execute */
@@ -1952,6 +1954,6 @@ struct tree_opt_pass pass_profile =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_ggc_collect | TODO_verify_ssa, /* todo_flags_finish */
- 0 /* letter */
+ TODO_ggc_collect | TODO_verify_ssa /* todo_flags_finish */
+ }
};