ira.h (ira_finish_once): Delete.
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 12 Sep 2014 07:27:10 +0000 (07:27 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 12 Sep 2014 07:27:10 +0000 (07:27 +0000)
commit19c708dc8316d80ca3611106fd989b317d55b968
tree839e2de96e8104f4dc92dbb429fc966fdab1fdd6
parent44fc1b7b63f6d6ae9f9f618e0f6b7a40e06f08e3
ira.h (ira_finish_once): Delete.

gcc/
* ira.h (ira_finish_once): Delete.
* ira-int.h (target_ira_int::~target_ira_int): Declare.
(target_ira_int::free_ira_costs): Likewise.
(target_ira_int::free_register_move_costs): Likewise.
(ira_finish_costs_once): Delete.
* ira.c (free_register_move_costs): Replace with...
(target_ira_int::free_register_move_costs): ...this new function.
(target_ira_int::~target_ira_int): Define.
(ira_init): Call free_register_move_costs as a member function rather
than a global function.
(ira_finish_once): Delete.
* ira-costs.c (free_ira_costs): Replace with...
(target_ira_int::free_ira_costs): ...this new function.
(ira_init_costs): Call free_ira_costs as a member function rather
than a global function.
(ira_finish_costs_once): Delete.
* target-globals.c (target_globals::~target_globals): Call the
target_ira_int destructor.
* toplev.c: Include lra.h.
(finalize): Call lra_finish_once rather than ira_finish_once.

From-SVN: r215200
gcc/ChangeLog
gcc/ira-costs.c
gcc/ira-int.h
gcc/ira.c
gcc/ira.h
gcc/target-globals.c
gcc/toplev.c