Commit 7bf84454 by Richard Sandiford Committed by Richard Sandiford

rtl.h (target_rtl): Add x_static_reg_base_value.

gcc/
	* rtl.h (target_rtl): Add x_static_reg_base_value.
	* alias.c (static_reg_base_value): Redefine as a macro.

From-SVN: r162092
parent 360d045b
2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com>
* rtl.h (target_rtl): Add x_static_reg_base_value.
* alias.c (static_reg_base_value): Redefine as a macro.
2010-07-12 Richard Sandiford <rdsandiford@googlemail.com>
* Makefile.in (reginfo.o): Don't depend on $(GGC_H) or gt-reginfo.h. * Makefile.in (reginfo.o): Don't depend on $(GGC_H) or gt-reginfo.h.
(GTFILES): Remove reginfo.c. (GTFILES): Remove reginfo.c.
* rtl.h (target_rtl): Add x_top_of_stack. * rtl.h (target_rtl): Add x_top_of_stack.
......
...@@ -212,9 +212,8 @@ static rtx *new_reg_base_value; ...@@ -212,9 +212,8 @@ static rtx *new_reg_base_value;
array. */ array. */
static GTY((deletable)) VEC(rtx,gc) *old_reg_base_value; static GTY((deletable)) VEC(rtx,gc) *old_reg_base_value;
/* Static hunks of RTL used by the aliasing code; these are initialized #define static_reg_base_value \
once per function to avoid unnecessary RTL allocations. */ (this_target_rtl->x_static_reg_base_value)
static GTY (()) rtx static_reg_base_value[FIRST_PSEUDO_REGISTER];
#define REG_BASE_VALUE(X) \ #define REG_BASE_VALUE(X) \
(REGNO (X) < VEC_length (rtx, reg_base_value) \ (REGNO (X) < VEC_length (rtx, reg_base_value) \
......
...@@ -2041,6 +2041,10 @@ struct GTY(()) target_rtl { ...@@ -2041,6 +2041,10 @@ struct GTY(()) target_rtl {
/* A sample (mem:M stack_pointer_rtx) rtx for each mode M. */ /* A sample (mem:M stack_pointer_rtx) rtx for each mode M. */
rtx x_top_of_stack[MAX_MACHINE_MODE]; rtx x_top_of_stack[MAX_MACHINE_MODE];
/* Static hunks of RTL used by the aliasing code; these are treated
as persistent to avoid unnecessary RTL allocations. */
rtx x_static_reg_base_value[FIRST_PSEUDO_REGISTER];
}; };
extern GTY(()) struct target_rtl default_target_rtl; extern GTY(()) struct target_rtl default_target_rtl;
......
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