]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/loop-invariant.c
hash-traits.h (free_ptr_hash): New class.
[thirdparty/gcc.git] / gcc / loop-invariant.c
index 92d8e4c638ace782f2b651bf6626c278b4510c68..d3a74399f1b32a02aee702a55daf6818b553fcef 100644 (file)
@@ -441,10 +441,8 @@ invariant_expr_equal_p (rtx_insn *insn1, rtx e1, rtx_insn *insn2, rtx e2)
   return true;
 }
 
-struct invariant_expr_hasher : typed_free_remove <invariant_expr_entry>
+struct invariant_expr_hasher : free_ptr_hash <invariant_expr_entry>
 {
-  typedef invariant_expr_entry *value_type;
-  typedef invariant_expr_entry *compare_type;
   static inline hashval_t hash (const invariant_expr_entry *);
   static inline bool equal (const invariant_expr_entry *,
                            const invariant_expr_entry *);