aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-04-14 02:28:46 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-04-14 02:28:46 +0000
commit1935e8a86d3141a0d28263330fd428be06c5ecfa (patch)
tree17efbc0a6f42d3bc2e77211baecf71bc557f15d4 /gcc/basic-block.h
parent062e124a4c940665698d4d596d1327c741854f83 (diff)
downloadgcc-1935e8a86d3141a0d28263330fd428be06c5ecfa.zip
gcc-1935e8a86d3141a0d28263330fd428be06c5ecfa.tar.gz
gcc-1935e8a86d3141a0d28263330fd428be06c5ecfa.tar.bz2
basic-block.h (REG_BASIC_BLOCK): Use VEC instead of VARRAY.
* basic-block.h (REG_BASIC_BLOCK): Use VEC instead of VARRAY. * flow.c (reg_n_info): Change the type to VEC(reg_info_p,heap) *. * regclass.c (allocate_reg_info, free_reg_info): Use VEC instead of VARRAY. * regs.h (reg_info_p): New. (REG_N_REFS, REG_FREQ, REG_N_SETS, REG_N_DEATHS, REG_N_CALLS_CROSSED, REG_N_THROWING_CALLS_CROSSED, REG_LIVE_LENGTH, REGNO_FIRST_UID, REGNO_LAST_UID): Use VEC instead of VARRAY. From-SVN: r112942
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 14c22e3..1d41a00 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -460,7 +460,8 @@ extern bitmap_obstack reg_obstack;
#define REG_BLOCK_UNKNOWN -1
#define REG_BLOCK_GLOBAL -2
-#define REG_BASIC_BLOCK(N) (VARRAY_REG (reg_n_info, N)->basic_block)
+#define REG_BASIC_BLOCK(N) \
+ (VEC_index (reg_info_p, reg_n_info, N)->basic_block)
/* Stuff for recording basic block info. */