aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 8a908bf..8c6f6ee 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -871,7 +871,7 @@ public:
{}
/* opt_pass methods: */
- unsigned int execute () { return compute_alignments (); }
+ virtual unsigned int execute (function *) { return compute_alignments (); }
}; // class pass_compute_alignments
@@ -4499,7 +4499,7 @@ public:
{}
/* opt_pass methods: */
- unsigned int execute () { return rest_of_handle_final (); }
+ virtual unsigned int execute (function *) { return rest_of_handle_final (); }
}; // class pass_final
@@ -4544,7 +4544,10 @@ public:
{}
/* opt_pass methods: */
- unsigned int execute () { return rest_of_handle_shorten_branches (); }
+ virtual unsigned int execute (function *)
+ {
+ return rest_of_handle_shorten_branches ();
+ }
}; // class pass_shorten_branches
@@ -4707,7 +4710,10 @@ public:
{}
/* opt_pass methods: */
- unsigned int execute () { return rest_of_clean_state (); }
+ virtual unsigned int execute (function *)
+ {
+ return rest_of_clean_state ();
+ }
}; // class pass_clean_state