On 05/30/2012 02:24 PM, Richard Sandiford wrote:
After the preceding patch, only ira_init_register_move_cost uses
the regclass costs directly.  This patch moves them to IRA and makes
init_move_cost static to it.

This is just a stepping stone to make the later patches easier to review.

Richard


gcc/
        * regs.h (move_table, move_cost, may_move_in_cost, may_move_out_cost):
        Move these definitions and associated target_globals fields to...
        * ira-int.h: ...here.
        * rtl.h (init_move_cost): Delete.
        * reginfo.c (last_mode_for_init_move_cost, init_move_cost): Move to...
        * ira.c: ...here, making the latter static.


Ok.  Thanks for code improving, Richard.

Reply via email to