diff options
Diffstat (limited to 'gcc/final.cc')
-rw-r--r-- | gcc/final.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/final.cc b/gcc/final.cc index c5427d2..0352786 100644 --- a/gcc/final.cc +++ b/gcc/final.cc @@ -804,7 +804,10 @@ public: {} /* opt_pass methods: */ - virtual unsigned int execute (function *) { return compute_alignments (); } + unsigned int execute (function *) final override + { + return compute_alignments (); + } }; // class pass_compute_alignments @@ -4356,7 +4359,10 @@ public: {} /* opt_pass methods: */ - virtual unsigned int execute (function *) { return rest_of_handle_final (); } + unsigned int execute (function *) final override + { + return rest_of_handle_final (); + } }; // class pass_final @@ -4400,7 +4406,7 @@ public: {} /* opt_pass methods: */ - virtual unsigned int execute (function *) + unsigned int execute (function *) final override { return rest_of_handle_shorten_branches (); } @@ -4575,7 +4581,7 @@ public: {} /* opt_pass methods: */ - virtual unsigned int execute (function *) + unsigned int execute (function *) final override { return rest_of_clean_state (); } |