Use auto_vec for pointer_query cache for auto cleanup.
gcc/Changelog: * pointer-query.h (pointer_query::cache_type): Use auto_vec for auto cleanup.
This commit is contained in:
parent
682ede3959
commit
e78d98f76f
1 changed files with 2 additions and 2 deletions
|
@ -164,9 +164,9 @@ class pointer_query
|
|||
struct cache_type
|
||||
{
|
||||
/* 1-based indices into cache. */
|
||||
vec<unsigned> indices;
|
||||
auto_vec<unsigned> indices;
|
||||
/* The cache itself. */
|
||||
vec<access_ref> access_refs;
|
||||
auto_vec<access_ref> access_refs;
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Reference in a new issue