regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute function prototype.
commit62d049cf1ec30bdc76712c870fa974c467ff092b
authorPaolo Bonzini <bonzini@gnu.org>
Wed, 25 Feb 2009 18:12:29 +0000 (25 18:12 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Wed, 25 Feb 2009 18:12:29 +0000 (25 18:12 +0000)
treec11ea245aed067520c5c29a56b9929cdd2cb3bae
parentf618d33ef115544bb371c67ff937e9ce97969712
regmove.c (regmove_optimize): Conform to struct rtl_opt_pass execute function prototype.

2009-02-25  Paolo Bonzini  <bonzini@gnu.org>

* regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
execute function prototype.  Get f and nregs from max_reg_num
and get_insns.  Remove the first backward pass as it's dead,
guard the forward pass by flag_expensive_optimizations.
(rest_of_handle_regmove): Delete.
(pass_regmove): Replace it with regmove_optimize.

From-SVN: r144429
gcc/ChangeLog
gcc/regmove.c