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
@ -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…
Reference in New Issue
Block a user