summaryrefslogtreecommitdiff
path: root/gcc/regrename.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-10-30 09:35:42 +0000
committer <>2015-01-09 11:51:27 +0000
commitc27a97d04853380f1e80525391b3f0d156ed4c84 (patch)
tree68ffaade7c605bc80cffa18360799c98a810976f /gcc/regrename.h
parent6af3fdec2262dd94954acc5e426ef71cbd4521d3 (diff)
downloadgcc-tarball-c27a97d04853380f1e80525391b3f0d156ed4c84.tar.gz
Imported from /home/lorry/working-area/delta_gcc-tarball/gcc-4.9.2.tar.bz2.gcc-4.9.2
Diffstat (limited to 'gcc/regrename.h')
-rw-r--r--gcc/regrename.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/gcc/regrename.h b/gcc/regrename.h
index f3969a14fc..9a611f016a 100644
--- a/gcc/regrename.h
+++ b/gcc/regrename.h
@@ -1,6 +1,5 @@
/* This file contains definitions for the register renamer.
- Copyright (C) 2011
- Free Software Foundation, Inc.
+ Copyright (C) 2011-2014 Free Software Foundation, Inc.
This file is part of GCC.
@@ -49,8 +48,6 @@ struct du_head
};
typedef struct du_head *du_head_p;
-DEF_VEC_P (du_head_p);
-DEF_VEC_ALLOC_P (du_head_p, heap);
/* This struct describes a single occurrence of a register. */
struct du_chain
@@ -68,7 +65,7 @@ struct du_chain
/* This struct describes data gathered during regrename_analyze about
a single operand of an insn. */
-typedef struct
+struct operand_rr_info
{
/* The number of chains recorded for this operand. */
int n_chains;
@@ -76,19 +73,17 @@ typedef struct
a memory operand. */
struct du_chain *chains[MAX_REGS_PER_ADDRESS];
struct du_head *heads[MAX_REGS_PER_ADDRESS];
-} operand_rr_info;
+};
/* A struct to hold a vector of operand_rr_info structures describing the
operands of an insn. */
-typedef struct
+struct insn_rr_info
{
operand_rr_info *op_info;
-} insn_rr_info;
+};
-DEF_VEC_O (insn_rr_info);
-DEF_VEC_ALLOC_O (insn_rr_info, heap);
-extern VEC(insn_rr_info, heap) *insn_rr;
+extern vec<insn_rr_info> insn_rr;
extern void regrename_init (bool);
extern void regrename_finish (void);