aboutsummaryrefslogtreecommitdiff
path: root/gcc/sese.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sese.h')
-rw-r--r--gcc/sese.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/sese.h b/gcc/sese.h
index 7c6a9c6..2f4a7cb 100644
--- a/gcc/sese.h
+++ b/gcc/sese.h
@@ -31,11 +31,11 @@ typedef struct sese_s
edge entry, exit;
/* Parameters used within the SCOP. */
- VEC (tree, heap) *params;
+ vec<tree> params;
/* Loops completely contained in the SCOP. */
bitmap loops;
- VEC (loop_p, heap) *loop_nest;
+ vec<loop_p> loop_nest;
/* Are we allowed to add more params? This is for debugging purpose. We
can only add new params before generating the bb domains, otherwise they
@@ -57,7 +57,7 @@ extern void free_sese (sese);
extern void sese_insert_phis_for_liveouts (sese, basic_block, edge, edge);
extern void build_sese_loop_nests (sese);
extern edge copy_bb_and_scalar_dependences (basic_block, sese, edge,
- VEC (tree, heap) *, bool *);
+ vec<tree> , bool *);
extern struct loop *outermost_loop_in_sese (sese, basic_block);
extern void insert_loop_close_phis (htab_t, loop_p);
extern void insert_guard_phis (basic_block, edge, edge, htab_t, htab_t);
@@ -76,7 +76,7 @@ sese_contains_loop (sese sese, struct loop *loop)
static inline unsigned
sese_nb_params (sese region)
{
- return VEC_length (tree, SESE_PARAMS (region));
+ return SESE_PARAMS (region).length ();
}
/* Checks whether BB is contained in the region delimited by ENTRY and
@@ -259,8 +259,6 @@ typedef struct rename_map_elt_s
tree old_name, expr;
} *rename_map_elt;
-DEF_VEC_P(rename_map_elt);
-DEF_VEC_ALLOC_P (rename_map_elt, heap);
extern void debug_rename_map (htab_t);
extern hashval_t rename_map_elt_info (const void *);
@@ -341,9 +339,9 @@ typedef struct gimple_bb
corresponding element in CONDITION_CASES is not NULL_TREE. For a
SWITCH_EXPR the corresponding element in CONDITION_CASES is a
CASE_LABEL_EXPR. */
- VEC (gimple, heap) *conditions;
- VEC (gimple, heap) *condition_cases;
- VEC (data_reference_p, heap) *data_refs;
+ vec<gimple> conditions;
+ vec<gimple> condition_cases;
+ vec<data_reference_p> data_refs;
} *gimple_bb_p;
#define GBB_BB(GBB) (GBB)->bb