aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-12-23 22:10:10 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-12-23 22:10:10 +0000
commit294340bf912a36414f18890b6a917237f178dfc9 (patch)
tree46e966a10c5cfd38bdcd802c2fcdba4bc35d4581 /gcc/final.c
parent8aceba8c95eb83e52287f1ec5ebccc505306e474 (diff)
downloadgcc-294340bf912a36414f18890b6a917237f178dfc9.zip
gcc-294340bf912a36414f18890b6a917237f178dfc9.tar.gz
gcc-294340bf912a36414f18890b6a917237f178dfc9.tar.bz2
Makefile.in (final.o): Depend on vecprim.h.
* Makefile.in (final.o): Depend on vecprim.h. * final.c: Include vecprim.h. (insn_addresses_): Change the type to VEC(int,heap)*. * insn-addr.h (INSN_ADDRESSES_DEFN): Remove. (INSN_ADDRESSES, INSN_ADDRESSES_ALLOC, INSN_ADDRESSES_SIZE, INSN_ADDRESSES_NEW): Use VEC instead of VARRAY. From-SVN: r120177
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index ac81cdc..bd96444 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -76,6 +76,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#include "timevar.h"
#include "cgraph.h"
#include "coverage.h"
+#include "vecprim.h"
#ifdef XCOFF_DEBUGGING_INFO
#include "xcoffout.h" /* Needed for external data
@@ -320,7 +321,7 @@ dbr_sequence_length (void)
static int *insn_lengths;
-varray_type insn_addresses_;
+VEC(int,heap) *insn_addresses_;
/* Max uid for which the above arrays are valid. */
static int insn_lengths_max_uid;