| Index: runtime/vm/hash_map.h
|
| diff --git a/runtime/vm/hash_map.h b/runtime/vm/hash_map.h
|
| index 3bb99649bf0240f62da05fe71193650fc6115c76..4e6b0bc647a97585ae44f68b17b558330166aeaf 100644
|
| --- a/runtime/vm/hash_map.h
|
| +++ b/runtime/vm/hash_map.h
|
| @@ -113,7 +113,6 @@ class BaseDirectChainedHashMap : public B {
|
| Allocator* allocator_;
|
| };
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::BaseDirectChainedHashMap(
|
| const BaseDirectChainedHashMap& other)
|
| @@ -131,7 +130,6 @@ BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::BaseDirectChainedHashMap(
|
| memmove(lists_, other.lists_, lists_size_ * sizeof(HashMapListElement));
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| typename KeyValueTrait::Pair*
|
| BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Lookup(
|
| @@ -157,7 +155,6 @@ BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Lookup(
|
| return NULL;
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| typename KeyValueTrait::Value
|
| BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::LookupValue(
|
| @@ -168,7 +165,6 @@ BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::LookupValue(
|
| return (pair == NULL) ? kNoValue : KeyValueTrait::ValueOf(*pair);
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| typename KeyValueTrait::Pair*
|
| BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Iterator::Next() {
|
| @@ -203,7 +199,6 @@ BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Iterator::Next() {
|
| return NULL;
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| void BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Resize(
|
| intptr_t new_size) {
|
| @@ -253,7 +248,6 @@ void BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Resize(
|
| allocator_->template Free<HashMapListElement>(old_array, old_size);
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| void BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::ResizeLists(
|
| intptr_t new_size) {
|
| @@ -279,7 +273,6 @@ void BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::ResizeLists(
|
| allocator_->template Free<HashMapListElement>(old_lists, old_size);
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| void BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Insert(
|
| typename KeyValueTrait::Pair kv) {
|
| @@ -311,7 +304,6 @@ void BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Insert(
|
| }
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait, typename B, typename Allocator>
|
| bool BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Remove(
|
| typename KeyValueTrait::Key key) {
|
| @@ -373,7 +365,6 @@ bool BaseDirectChainedHashMap<KeyValueTrait, B, Allocator>::Remove(
|
| return true;
|
| }
|
|
|
| -
|
| template <typename KeyValueTrait>
|
| class DirectChainedHashMap
|
| : public BaseDirectChainedHashMap<KeyValueTrait, ValueObject> {
|
| @@ -387,7 +378,6 @@ class DirectChainedHashMap
|
| ASSERT_NOTNULL(zone)) {}
|
| };
|
|
|
| -
|
| template <typename KeyValueTrait>
|
| class MallocDirectChainedHashMap
|
| : public BaseDirectChainedHashMap<KeyValueTrait, EmptyBase, Malloc> {
|
| @@ -396,7 +386,6 @@ class MallocDirectChainedHashMap
|
| : BaseDirectChainedHashMap<KeyValueTrait, EmptyBase, Malloc>(NULL) {}
|
| };
|
|
|
| -
|
| template <typename T>
|
| class PointerKeyValueTrait {
|
| public:
|
| @@ -413,7 +402,6 @@ class PointerKeyValueTrait {
|
| static inline bool IsKeyEqual(Pair kv, Key key) { return kv->Equals(key); }
|
| };
|
|
|
| -
|
| template <typename T>
|
| class NumbersKeyValueTrait {
|
| public:
|
| @@ -427,7 +415,6 @@ class NumbersKeyValueTrait {
|
| static inline bool IsKeyEqual(Pair kv, Key key) { return kv.first() == key; }
|
| };
|
|
|
| -
|
| template <typename K, typename V>
|
| class RawPointerKeyValueTrait {
|
| public:
|
|
|