aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-streamer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-streamer.h')
-rw-r--r--gcc/tree-streamer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-streamer.h b/gcc/tree-streamer.h
index 778712b..c687f03 100644
--- a/gcc/tree-streamer.h
+++ b/gcc/tree-streamer.h
@@ -49,7 +49,7 @@ struct streamer_tree_cache_d
struct pointer_map_t *node_map;
/* The nodes pickled so far. */
- VEC(tree,heap) *nodes;
+ vec<tree> nodes;
};
/* Return true if tree node EXPR should be streamed as a builtin. For
@@ -103,7 +103,7 @@ void streamer_tree_cache_delete (struct streamer_tree_cache_d *);
static inline tree
streamer_tree_cache_get (struct streamer_tree_cache_d *cache, unsigned ix)
{
- return VEC_index (tree, cache->nodes, ix);
+ return cache->nodes[ix];
}