Commit 152914cd by Kirill Yukhin Committed by Kirill Yukhin

Rename struct in gcc/lra-lives.c

gcc/
	* gcc/lra-lives.c (struct bb_data): Rename to ...
	(struct bb_data_pseudos): ... this.
	(initiate_live_solver): Update struct name.

From-SVN: r217468
parent 3cd383fd
2014-11-14 Kirill Yukhin <kirill.yukhin@intel.com>
* gcc/lra-lives.c (struct bb_data): Rename to ...
(struct bb_data_pseudos): ... this.
(initiate_live_solver): Update struct name.
2014-11-13 Richard Biener <rguenther@suse.de> 2014-11-13 Richard Biener <rguenther@suse.de>
* match.pd: Implement conditional expression patterns. * match.pd: Implement conditional expression patterns.
...@@ -390,7 +390,7 @@ mark_regno_dead (int regno, machine_mode mode, int point, bool local_sets_p) ...@@ -390,7 +390,7 @@ mark_regno_dead (int regno, machine_mode mode, int point, bool local_sets_p)
/* Structure describing local BB data used for pseudo /* Structure describing local BB data used for pseudo
live-analysis. */ live-analysis. */
struct bb_data struct bb_data_pseudos
{ {
/* Basic block about which the below data are. */ /* Basic block about which the below data are. */
basic_block bb; basic_block bb;
...@@ -399,7 +399,7 @@ struct bb_data ...@@ -399,7 +399,7 @@ struct bb_data
}; };
/* Array for all BB data. Indexed by the corresponding BB index. */ /* Array for all BB data. Indexed by the corresponding BB index. */
typedef struct bb_data *bb_data_t; typedef struct bb_data_pseudos *bb_data_t;
/* All basic block data are referred through the following array. */ /* All basic block data are referred through the following array. */
static bb_data_t bb_data; static bb_data_t bb_data;
...@@ -479,7 +479,7 @@ initiate_live_solver (void) ...@@ -479,7 +479,7 @@ initiate_live_solver (void)
bitmap_initialize (&temp_bitmap, &reg_obstack); bitmap_initialize (&temp_bitmap, &reg_obstack);
bitmap_initialize (&all_hard_regs_bitmap, &reg_obstack); bitmap_initialize (&all_hard_regs_bitmap, &reg_obstack);
bitmap_set_range (&all_hard_regs_bitmap, 0, FIRST_PSEUDO_REGISTER); bitmap_set_range (&all_hard_regs_bitmap, 0, FIRST_PSEUDO_REGISTER);
bb_data = XNEWVEC (struct bb_data, last_basic_block_for_fn (cfun)); bb_data = XNEWVEC (struct bb_data_pseudos, last_basic_block_for_fn (cfun));
bitmap_initialize (&all_blocks, &reg_obstack); bitmap_initialize (&all_blocks, &reg_obstack);
basic_block bb; basic_block bb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment