Index: runtime/vm/kernel_to_il.h |
diff --git a/runtime/vm/kernel_to_il.h b/runtime/vm/kernel_to_il.h |
index b83895c00878cb92850c78a9d77c5f344678f9c2..e518cee8e1cec12366a43c316b05a5f9a8804f40 100644 |
--- a/runtime/vm/kernel_to_il.h |
+++ b/runtime/vm/kernel_to_il.h |
@@ -77,35 +77,6 @@ class Map : public DirectChainedHashMap<RawPointerKeyValueTrait<K, V> > { |
} |
}; |
-template <typename K, typename V> |
-class MallocMap |
- : public MallocDirectChainedHashMap<RawPointerKeyValueTrait<K, V> > { |
- public: |
- typedef typename RawPointerKeyValueTrait<K, V>::Key Key; |
- typedef typename RawPointerKeyValueTrait<K, V>::Value Value; |
- typedef typename RawPointerKeyValueTrait<K, V>::Pair Pair; |
- |
- inline void Insert(const Key& key, const Value& value) { |
- Pair pair(key, value); |
- MallocDirectChainedHashMap<RawPointerKeyValueTrait<K, V> >::Insert(pair); |
- } |
- |
- inline V Lookup(const Key& key) { |
- Pair* pair = |
- MallocDirectChainedHashMap<RawPointerKeyValueTrait<K, V> >::Lookup(key); |
- if (pair == NULL) { |
- return V(); |
- } else { |
- return pair->value; |
- } |
- } |
- |
- inline Pair* LookupPair(const Key& key) { |
- return MallocDirectChainedHashMap<RawPointerKeyValueTrait<K, V> >::Lookup( |
- key); |
- } |
-}; |
- |
class BreakableBlock; |
class CatchBlock; |
class FlowGraphBuilder; |