diff options
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 657b585..e8a9fec 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -4560,7 +4560,10 @@ public: return (optimize > 0) && dbg_cnt (if_conversion); } - unsigned int execute () { return rest_of_handle_if_conversion (); } + virtual unsigned int execute (function *) + { + return rest_of_handle_if_conversion (); + } }; // class pass_rtl_ifcvt @@ -4575,12 +4578,6 @@ make_pass_rtl_ifcvt (gcc::context *ctxt) /* Rerun if-conversion, as combine may have simplified things enough to now meet sequence length restrictions. */ -static unsigned int -rest_of_handle_if_after_combine (void) -{ - if_convert (true); - return 0; -} namespace { @@ -4612,7 +4609,11 @@ public: && dbg_cnt (if_after_combine); } - unsigned int execute () { return rest_of_handle_if_after_combine (); } + virtual unsigned int execute (function *) + { + if_convert (true); + return 0; + } }; // class pass_if_after_combine @@ -4625,14 +4626,6 @@ make_pass_if_after_combine (gcc::context *ctxt) } -static unsigned int -rest_of_handle_if_after_reload (void) -{ - if_convert (true); - return 0; -} - - namespace { const pass_data pass_data_if_after_reload = @@ -4663,7 +4656,11 @@ public: && dbg_cnt (if_after_reload); } - unsigned int execute () { return rest_of_handle_if_after_reload (); } + virtual unsigned int execute (function *) + { + if_convert (true); + return 0; + } }; // class pass_if_after_reload |