summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-12 18:53:49 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-12 18:53:49 +0000
commiteb2c25b54b230c5efbaf84075ed139a8c5508883 (patch)
treed92691c0fcef6b3e71c4a66daaaba2d54208366a /gcc/alias.c
parent75f8637a2bcc56f8bc4c53f8bf5604a14b0533f4 (diff)
downloadgcc-eb2c25b54b230c5efbaf84075ed139a8c5508883.tar.gz
gcc/
* rtl.h (target_rtl): Add x_static_reg_base_value. * alias.c (static_reg_base_value): Redefine as a macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162092 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index 034c4692500..e46c8e9741a 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -212,9 +212,8 @@ static rtx *new_reg_base_value;
array. */
static GTY((deletable)) VEC(rtx,gc) *old_reg_base_value;
-/* Static hunks of RTL used by the aliasing code; these are initialized
- once per function to avoid unnecessary RTL allocations. */
-static GTY (()) rtx static_reg_base_value[FIRST_PSEUDO_REGISTER];
+#define static_reg_base_value \
+ (this_target_rtl->x_static_reg_base_value)
#define REG_BASE_VALUE(X) \
(REGNO (X) < VEC_length (rtx, reg_base_value) \