diff options
Diffstat (limited to 'gcc/tree-vectorizer.c')
-rw-r--r-- | gcc/tree-vectorizer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 9d17802..e69cbfb 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -102,14 +102,12 @@ vec<vec_void_p> stmt_vec_info_vec; /* For mapping simduid to vectorization factor. */ -struct simduid_to_vf : typed_free_remove<simduid_to_vf> +struct simduid_to_vf : free_ptr_hash<simduid_to_vf> { unsigned int simduid; int vf; /* hash_table support. */ - typedef simduid_to_vf *value_type; - typedef simduid_to_vf *compare_type; static inline hashval_t hash (const simduid_to_vf *); static inline int equal (const simduid_to_vf *, const simduid_to_vf *); }; @@ -138,14 +136,12 @@ simduid_to_vf::equal (const simduid_to_vf *p1, const simduid_to_vf *p2) This hash maps from the OMP simd array (D.1737[]) to DECL_UID of simduid.0. */ -struct simd_array_to_simduid : typed_free_remove<simd_array_to_simduid> +struct simd_array_to_simduid : free_ptr_hash<simd_array_to_simduid> { tree decl; unsigned int simduid; /* hash_table support. */ - typedef simd_array_to_simduid *value_type; - typedef simd_array_to_simduid *compare_type; static inline hashval_t hash (const simd_array_to_simduid *); static inline int equal (const simd_array_to_simduid *, const simd_array_to_simduid *); |