aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 5d618ab..24fd40f 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,5 +1,10 @@
2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
+ * objc-act.c (objc_string_hasher): Inherit from ggc_ptr_hash
+ rather than ggc_hasher.
+
+2015-06-25 Richard Sandiford <richard.sandiford@arm.com>
+
* objc-act.c (decl_name_hash): Inherit from nofree_ptr_hash rather
than typed_noop_remove. Remove redudant typedefs.
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 53e50e5..db77260 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -265,7 +265,7 @@ struct GTY((for_user)) string_descriptor {
tree constructor;
};
-struct objc_string_hasher : ggc_hasher<string_descriptor *>
+struct objc_string_hasher : ggc_ptr_hash<string_descriptor>
{
static hashval_t hash (string_descriptor *);
static bool equal (string_descriptor *, string_descriptor *);