Attempt to fix Windows compilation error.

TBR=asiva@google.com

Review URL: https://codereview.chromium.org//351113002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37718 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
koda@google.com
2014-06-26 01:27:26 +00:00
parent df8ab32558
commit b77bd818f7
+4 -2
View File
@@ -455,7 +455,8 @@ class HashTables : public AllStatic {
template<typename Base>
class HashMap : public Base {
public:
explicit HashMap(Array& data) : Base(data) {}
typedef Base BaseTable;
explicit HashMap(Array& data) : BaseTable(data) {}
template<typename Key>
RawObject* GetOrNull(const Key& key, bool* present = NULL) const {
intptr_t entry = Base::FindKey(key);
@@ -514,7 +515,8 @@ class EnumIndexHashMap : public HashMap<EnumIndexHashTable<KeyTraits, 1> > {
template<typename Base>
class HashSet : public Base {
public:
explicit HashSet(Array& data) : Base(data) {}
typedef Base BaseTable;
explicit HashSet(Array& data) : BaseTable(data) {}
bool Insert(const Object& key) {
HashTables::EnsureLoadFactor(0.0, 0.75, *this);
intptr_t entry = -1;