Lines 7588-7593
bool GlobalDictionaryShape::IsDeleted(Dictionary* dict, int entry) {
Link Here
|
7588 |
} |
7588 |
} |
7589 |
|
7589 |
|
7590 |
|
7590 |
|
|
|
7591 |
template <typename Derived, typename Shape, typename Key> |
7592 |
inline uint32_t HashTable<Derived,Shape,Key>::Hash(Key key) { |
7593 |
if (Shape::UsesSeed) { |
7594 |
return Shape::SeededHash(key, GetHeap()->HashSeed()); |
7595 |
} else { |
7596 |
return Shape::Hash(key); |
7597 |
} |
7598 |
} |
7599 |
|
7600 |
template <typename Derived, typename Shape, typename Key> |
7601 |
inline uint32_t HashTable<Derived,Shape,Key>::HashForObject(Key key, Object* object) { |
7602 |
if (Shape::UsesSeed) { |
7603 |
return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object); |
7604 |
} else { |
7605 |
return Shape::HashForObject(key, object); |
7606 |
} |
7607 |
} |
7608 |
|
7591 |
bool ObjectHashTableShape::IsMatch(Handle<Object> key, Object* other) { |
7609 |
bool ObjectHashTableShape::IsMatch(Handle<Object> key, Object* other) { |
7592 |
return key->SameValue(other); |
7610 |
return key->SameValue(other); |
7593 |
} |
7611 |
} |