Chromium Code Reviews| Index: runtime/vm/hash_map.h |
| diff --git a/runtime/vm/hash_map.h b/runtime/vm/hash_map.h |
| index babaecae089005d40874837745e2cb7c34f5558b..29a9fe704248be61a7bc97c063e6ad08a0f1b715 100644 |
| --- a/runtime/vm/hash_map.h |
| +++ b/runtime/vm/hash_map.h |
| @@ -26,6 +26,8 @@ class DirectChainedHashMap: public ValueObject { |
| typename KeyValueTrait::Value Lookup(typename KeyValueTrait::Key key) const; |
| + intptr_t size() const { return count_; } |
|
Florian Schneider
2014/07/16 15:02:03
this seems unused?
Vyacheslav Egorov (Google)
2014/07/17 17:03:48
Done.
|
| + |
| bool IsEmpty() const { return count_ == 0; } |
| void Clear() { |