summaryrefslogtreecommitdiff
path: root/gcc/hash-map.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hash-map.h')
-rw-r--r--gcc/hash-map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/hash-map.h b/gcc/hash-map.h
index 4988fe4d037..a5816dca3ce 100644
--- a/gcc/hash-map.h
+++ b/gcc/hash-map.h
@@ -264,6 +264,8 @@ public:
break;
}
+ size_t elements () const { return m_table.elements (); }
+
private:
template<typename T, typename U, typename V> friend void gt_ggc_mx (hash_map<T, U, V> *);