diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-07-12 19:03:50 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2010-07-12 19:03:50 +0000 |
commit | 15e7b94f185a0eb2cb8a0b0fbf4c8d3025f1b40d (patch) | |
tree | 509b4507d79280dce679e79dda34e3da0d380119 /gcc/ira.c | |
parent | cc14227fd9aadda127a94a28d34eaa4249df3f12 (diff) | |
download | gcc-15e7b94f185a0eb2cb8a0b0fbf4c8d3025f1b40d.zip gcc-15e7b94f185a0eb2cb8a0b0fbf4c8d3025f1b40d.tar.gz gcc-15e7b94f185a0eb2cb8a0b0fbf4c8d3025f1b40d.tar.bz2 |
ira-int.h (target_ira_int): Add x_ira_prohibited_mode_move_regs and...
gcc/
* ira-int.h (target_ira_int): Add x_ira_prohibited_mode_move_regs
and x_ira_prohibited_mode_move_regs_initialized_p.
(ira_prohibited_mode_move_regs): Redefine as a macro.
* ira.c (ira_prohibited_mode_move_regs): Delete.
(ira_prohibited_mode_move_regs_initialized_p): Redefine as a macro.
From-SVN: r162107
Diffstat (limited to 'gcc/ira.c')
-rw-r--r-- | gcc/ira.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1195,14 +1195,8 @@ ira_finish_once (void) } - -/* Array whose values are hard regset of hard registers for which - move of the hard register in given mode into itself is - prohibited. */ -HARD_REG_SET ira_prohibited_mode_move_regs[NUM_MACHINE_MODES]; - -/* Flag of that the above array has been initialized. */ -static bool ira_prohibited_mode_move_regs_initialized_p = false; +#define ira_prohibited_mode_move_regs_initialized_p \ + (this_target_ira_int->x_ira_prohibited_mode_move_regs_initialized_p) /* Set up IRA_PROHIBITED_MODE_MOVE_REGS. */ static void |